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 str, string end)
    class Structure
    static
    fromString
    (
    string str
    ,
    out string end
    )

Parameters

str 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