Element.query

Performs a query on the given element. For elements that don't implement a query handler, this function forwards the query to a random srcpad or to the peer of a random linked sinkpad of this element. Please note that some queries might need a running pipeline to work.

class Element
int
query

Parameters

query Query

the GstQuery. [transfer none]

Return Value

Type: int

TRUE if the query could be performed. MT safe.

Meta