Gst.Pad.prototype.proxy_query_accept_caps

function proxy_query_accept_caps(query:Gst.Query):Boolean {
    // Gjs wrapper for gst_pad_proxy_query_accept_caps()
}

Calls gst_pad_accept_caps() for all internally linked pads of pad and returns the intersection of the results.

This function is useful as a default accept caps query function for an element that can handle any stream format, but requires caps that are acceptable for all oposite pads.

query

an ACCEPT_CAPS Gst.Query.

Returns

TRUE if query could be executed