Gst.Query.prototype.has_scheduling_mode
function has_scheduling_mode(mode:Gst.PadMode):Boolean { // Gjs wrapper for gst_query_has_scheduling_mode() }
Check if query has scheduling mode set.
<note> <para> When checking if upstream supports pull mode, it is usually not enough to just check for GST_PAD_MODE_PULL with this function, you also want to check whether the scheduling flags returned by Gst.parse_scheduling have the seeking flag set (meaning random access is supported, not only sequential pulls). </para> </note>
- mode
the scheduling mode
- Returns
TRUE when mode is in the list of scheduling modes.