correct return value in gst_push_sticky
authorMatej Knopp <matej.knopp@gmail.com>
Sun, 4 Dec 2011 06:33:32 +0000 (07:33 +0100)
committerWim Taymans <wim.taymans@collabora.co.uk>
Mon, 5 Dec 2011 16:11:07 +0000 (17:11 +0100)
gst/gstpad.c

index 72906f0..aae7afe 100644 (file)
@@ -3260,7 +3260,7 @@ push_sticky (GstPad * pad, PadEvent * ev, gpointer user_data)
       GST_PAD_PROBE_TYPE_EVENT_DOWNSTREAM, &stored);
 
   GST_OBJECT_LOCK (pad);
-  return *data != GST_FLOW_OK;
+  return *data == GST_FLOW_OK;
 }
 
 /* this is the chain function that does not perform the additional argument