Gst.StaticPadTemplate.prototype.get_caps

function get_caps():Gst.Caps {
    // Gjs wrapper for gst_static_pad_template_get_caps()
}

Gets the capabilities of the static pad template.

Returns

the Gst.Caps of the static pad template. Unref after usage. Since the core holds an additional ref to the returned caps, use gst_caps_make_writable() on the returned caps to modify it.