query


Description:

public bool query (Query 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.

Parameters:

this

a Pad to invoke the default query on.

query

the Query to perform.

Returns:

true if the query could be performed.




2022 vala-language.org