Caps.fromString

Converts @caps from a string representation.

The current implementation of serialization will lead to unexpected results when there are nested #GstCaps / #GstStructure deeper than one level.

class Caps
static
fromString
(
string str
)

Parameters

str string

a string to convert to #GstCaps

Return Value

Type: Caps

a newly allocated #GstCaps

Meta