simplify


Description:

[ DestroysInstance ]
public Caps simplify ()

Converts the given this 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 function takes ownership of this and will call gst_caps_make_writable on it if necessary, so you must not use this afterwards unless you keep an additional reference to it with gst_caps_ref .

This method does not preserve the original order of this.

Parameters:

this

a Caps to simplify

Returns:

The simplified caps.