mplex: Don't use GST_FLOW_IS_SUCCESS()
authorSebastian Dröge <sebastian.droege@collabora.co.uk>
Tue, 21 Sep 2010 10:27:20 +0000 (12:27 +0200)
committerSebastian Dröge <sebastian.droege@collabora.co.uk>
Tue, 21 Sep 2010 10:27:20 +0000 (12:27 +0200)
ext/mplex/gstmplex.cc

index 677db8d..04eae2e 100644 (file)
@@ -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);