Gst.Pad.prototype.peer_query_accept_caps

function peer_query_accept_caps(caps:Gst.Caps):Boolean {
    // Gjs wrapper for gst_pad_peer_query_accept_caps()
}

Check if the peer of pad accepts caps. If pad has no peer, this function returns TRUE.

caps

a Gst.Caps to check on the pad

Returns

TRUE if the peer of pad can accept the caps or pad has no peer.