Gst.Caps.prototype.simplify

function simplify():Gst.Caps {
    // Gjs wrapper for gst_caps_simplify()
}

Converts the given caps into a representation that represents the same set of formats, but in a simpler form. Component structures that are identical are merged. Component structures that have values that can be merged are also merged.

This method does not preserve the original order of caps.

Returns

The simplified caps.