Gst.Pad.prototype.get_current_caps

function get_current_caps():Gst.Caps {
    // Gjs wrapper for gst_pad_get_current_caps()
}

Gets the capabilities currently configured on pad with the last #GST_EVENT_CAPS event.

Returns

the current caps of the pad with incremented ref-count.