mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-19 16:21:17 +00:00
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:
parent
702e5d11c3
commit
ba7089cf04
1 changed files with 1 additions and 1 deletions
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue