Pad.query

Dispatches a query to a pad. The query should have been allocated by the caller via one of the type-specific allocation functions. The element that the pad belongs to is responsible for filling the query with an appropriate response, which should then be parsed with a type-specific query parsing function.

Again, the caller is responsible for both the allocation and deallocation of the query structure.

Please also note that some queries might need a running pipeline to work.

class Pad
bool
query

Parameters

query Query

the #GstQuery to perform.

Return Value

Type: bool

%TRUE if the query could be performed.

Meta