Structure.newFromString

Creates a #GstStructure from a string representation. If end is not null, a pointer to the place inside the given string where parsing ended will be returned.

The current implementation of serialization will lead to unexpected results when there are nested #GstCaps / #GstStructure deeper than one level unless the gst.structure.Structure.serialize function is used (without #GST_SERIALIZE_FLAG_BACKWARD_COMPAT)

Free-function: gst_structure_free

class Structure
static
newFromString
(
string string_
)

Parameters

string_ string

a string representation of a #GstStructure

Return Value

Type: gst.structure.Structure

a new #GstStructure or null when the string could not be parsed. Free with gst.structure.Structure.free after use.