Gst.Pad.prototype.peer_query

function peer_query(query:Gst.Query):Boolean {
    // Gjs wrapper for gst_pad_peer_query()
}

Performs Gst.query on the peer of pad.

The caller is responsible for both the allocation and deallocation of the query structure.

query

the Gst.Query to perform.

Returns

TRUE if the query could be performed. This function returns false if pad has no peer.