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

This method does not preserve the original order of @caps.

class Caps
simplify
()

Return Value

Type: Caps

The simplified caps.

Meta