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.
| this |
a Element to perform the query on. |
| query |
the Query. |
|
true if the query could be performed. MT safe. |