Caps.fromString

gst.caps.Caps fromString(string string_)

Converts caps from a string representation.

The implementation of serialization up to 1.20 would lead to unexpected results when there were nested #GstCaps / #GstStructure deeper than one level.

Parameters

string_a string to convert to #GstCaps

Returns

a newly allocated #GstCaps