Gst.ParseContext

Fields

None

Methods

class

new ()

copy ()

free ()

get_missing_elements ()

Details

class Gst.ParseContext

Opaque structure.

classmethod new()[source]
Returns:

a newly-allocated parse context. Free with Gst.ParseContext.free() when no longer needed.

Return type:

Gst.ParseContext or None

Allocates a parse context for use with Gst.parse_launch_full() or Gst.parse_launchv_full().

Free-function: Gst.ParseContext.free

copy()[source]
Returns:

A copied Gst.ParseContext

Return type:

Gst.ParseContext or None

Copies the self.

New in version 1.12.1.

free()[source]

Frees a parse context previously allocated with Gst.ParseContext.new().

get_missing_elements()[source]
Returns:

a None-terminated array of element factory name strings of missing elements. Free with GLib.strfreev() when no longer needed.

Return type:

[str] or None

Retrieve missing elements from a previous run of Gst.parse_launch_full() or Gst.parse_launchv_full(). Will only return results if an error code of Gst.ParseError.NO_SUCH_ELEMENT was returned.