Structure.newFromString

gst.structure.Structure newFromString(string string_)

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

Parameters

string_a string representation of a #GstStructure

Returns

a new #GstStructure or null

when the string could not be parsed. Free with [gst.structure.Structure.free] after use.