Gst.Caps.prototype.is_equal

function is_equal(caps2:Gst.Caps):Boolean {
    // Gjs wrapper for gst_caps_is_equal()
}

Checks if the given caps represent the same set of caps. <note>This function does not work reliably if optional properties for caps are included on one caps and omitted on the other.</note>

caps2

another Gst.Caps

Returns

TRUE if both caps are equal.