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