fixate


Description:

[ DestroysInstance ]
public Caps fixate ()

Modifies the given this into a representation with only fixed values.

First the caps will be truncated and then the first structure will be fixated with fixate.

This function takes ownership of this and will call gst_caps_make_writable on it so you must not use this afterwards unless you keep an additional reference to it with gst_caps_ref .

Note that it is not guaranteed that the returned caps have exactly one structure. If this are empty caps then the returned caps will be the empty too and contain no structure at all.

Calling this function with ANY caps is not allowed.

Parameters:

this

a Caps to fixate

Returns:

the fixated caps




2022 vala-language.org