Check if this has scheduling mode set and flags is set in query scheduling flags.
flags
a GST_QUERY_SCHEDULING type query Query
the scheduling mode
SchedulingFlags
true when mode is in the list of scheduling modes and flags are compatible with query flags.
true
mode