correct return value in gst_push_sticky

This commit is contained in:
Matej Knopp 2011-12-04 07:33:32 +01:00 committed by Wim Taymans
parent c2efd026db
commit 0e935321af

View 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