Caps.fromString

Converts caps from a string representation.

The current implementation of serialization will lead to unexpected results when there are nested gstreamer.Caps / gstreamer.Structure deeper than one level.

class Caps
static
fromString
(
string string_
)

Parameters

string_ string

a string to convert to gstreamer.Caps

Return Value

Type: Caps

a newly allocated gstreamer.Caps