mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-18 15:51:11 +00:00
query: adjust test logic for scheduling mode with flagS
This commit is contained in:
parent
d1567a82ac
commit
4af5e05309
1 changed files with 1 additions and 1 deletions
|
@ -2151,7 +2151,7 @@ gst_query_has_scheduling_mode_with_flags (GstQuery * query, GstPadMode mode,
|
|||
|
||||
gst_query_parse_scheduling (query, &sched_flags, NULL, NULL, NULL);
|
||||
|
||||
return ((flags & sched_flags) != 0) &&
|
||||
return ((flags & sched_flags) == flags) &&
|
||||
gst_query_has_scheduling_mode (query, mode);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue