Query.hasSchedulingMode

Check if query has scheduling mode set. Note 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_query_parse_scheduling() have the seeking flag set (meaning random access is supported, not only sequential pulls).

class Query
int
hasSchedulingMode

Parameters

mode GstPadMode

the scheduling mode

Return Value

Type: int

TRUE when mode is in the list of scheduling modes.

Meta