Caps.fromString

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.

class Caps
static
fromString
(
string string_
)

Parameters

string_ string

a string to convert to #GstCaps

Return Value

Type: gst.caps.Caps

a newly allocated #GstCaps