Gst.StaticCaps.prototype.get

function get():Gst.Caps {
    // Gjs wrapper for gst_static_caps_get()
}

Converts a Gst.StaticCaps to a Gst.Caps.

Returns

a pointer to the Gst.Caps. 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.