Structure.fromString

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.

Free-function: gst_structure_free

  1. Structure fromString(string name)
  2. Structure fromString(string string_, string end)
    class Structure
    static
    fromString
    (
    string string_
    ,
    out string end
    )

Parameters

string_ string

a string representation of a #GstStructure.

end string

pointer to store the end of the string in.

Return Value

Type: Structure

a new #GstStructure or %NULL when the string could not be parsed. Free with gst_structure_free() after use.

Meta