Gst.Caps.prototype.is_subset

function is_subset(superset:Gst.Caps):Boolean {
    // Gjs wrapper for gst_caps_is_subset()
}

Checks if all caps represented by subset are also represented by superset.

superset

a potentially greater Gst.Caps

Returns

true if subset is a subset of superset