Gst.Pad.prototype.query
function query(query:Gst.Query):Boolean { // Gjs wrapper for gst_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.
- query
the Gst.Query to perform.
- Returns
TRUE if the query could be performed.