Gst.Pad.prototype.proxy_query_caps
function proxy_query_caps(query:Gst.Query):Boolean { // Gjs wrapper for gst_pad_proxy_query_caps() }
Calls Gst.query_caps for all internally linked pads fof pad and returns the intersection of the results.
This function is useful as a default caps query function for an element that can handle any stream format, but requires all its pads to have the same caps. Two such elements are tee and adder.
- query
a CAPS Gst.Query.
- Returns
TRUE if query could be executed