[gst-cvs] gst-plugins-bad: mplex: Don't use GST_FLOW_IS_SUCCESS()

Sebastian Dröge slomo at kemper.freedesktop.org
Tue Sep 21 03:29:30 PDT 2010


Module: gst-plugins-bad
Branch: master
Commit: 160b5ee560de92aa4323377ca73095f04218f5ef
URL:    http://cgit.freedesktop.org/gstreamer/gst-plugins-bad/commit/?id=160b5ee560de92aa4323377ca73095f04218f5ef

Author: Sebastian Dröge <sebastian.droege at collabora.co.uk>
Date:   Tue Sep 21 12:27:20 2010 +0200

mplex: Don't use GST_FLOW_IS_SUCCESS()

---

 ext/mplex/gstmplex.cc |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/ext/mplex/gstmplex.cc b/ext/mplex/gstmplex.cc
index 677db8d..04eae2e 100644
--- a/ext/mplex/gstmplex.cc
+++ b/ext/mplex/gstmplex.cc
@@ -556,7 +556,7 @@ gst_mplex_chain (GstPad * sinkpad, GstBuffer * buffer)
   if (G_UNLIKELY (mpad->eos))
     goto eos;
 
-  if (G_UNLIKELY (!GST_FLOW_IS_SUCCESS (mplex->srcresult)))
+  if (G_UNLIKELY (mplex->srcresult != GST_FLOW_OK))
     goto ignore;
 
   gst_adapter_push (mpad->adapter, buffer);





More information about the Gstreamer-commits mailing list