Gst.Caps.prototype.subtract

function subtract(subtrahend:Gst.Caps):Gst.Caps {
    // Gjs wrapper for gst_caps_subtract()
}

Subtracts the subtrahend from the minuend. <note>This function does not work reliably if optional properties for caps are included on one caps and omitted on the other.</note>

subtrahend

Gst.Caps to subtract

Returns

the resulting caps