Gst.Caps.prototype.truncate

function truncate():Gst.Caps {
    // Gjs wrapper for gst_caps_truncate()
}

Discard all but the first structure from caps. Useful when fixating.

Returns

truncated caps