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
bool
query

Parameters

query Query

the #GstQuery.

Return Value

Type: bool

%TRUE if the query could be performed.

MT safe.

Meta