Function

Gst-1.0Gstcaps_from_string

  • Converts caps from a string representation.

    The implementation of serialization up to 1.20 would lead to unexpected results when there were nested Gst.Caps / Gst.Structure deeper than one level.

    Parameters

    • string: string

      a string to convert to Gst.Caps

    Returns Gst.Caps | null

    a newly allocated Gst.Caps