Gst.Pad.prototype.query_accept_caps

function query_accept_caps(caps:Gst.Caps):Boolean {
    // Gjs wrapper for gst_pad_query_accept_caps()
}

Check if the given pad accepts the caps.

caps

a Gst.Caps to check on the pad

Returns

TRUE if the pad can accept the caps.