pad: Minor code cleanup

!check_sticky()==GST_FLOW_OK is a bit confusing, compared to
check_sticky()!=GST_FLOW_OK.
This commit is contained in:
Sebastian Dröge 2014-01-22 11:10:01 +01:00
parent 702e5d11c3
commit ba7089cf04

View file

@ -3635,7 +3635,7 @@ gst_pad_peer_query (GstPad * pad, GstQuery * query)
if (GST_PAD_IS_SRC (pad) && serialized) {
/* all serialized queries on the srcpad trigger push of
* sticky events */
if (!check_sticky (pad, NULL) == GST_FLOW_OK)
if (check_sticky (pad, NULL) != GST_FLOW_OK)
goto sticky_failed;
}