Gst.Tracer

g GObject.InitiallyUnowned GObject.InitiallyUnowned Gst.Object Gst.Object GObject.InitiallyUnowned->Gst.Object GObject.Object GObject.Object GObject.Object->GObject.InitiallyUnowned Gst.Tracer Gst.Tracer Gst.Object->Gst.Tracer

Subclasses:

None

Methods

Inherited:

Gst.Object (27), GObject.Object (37)

Structs:

Gst.TracerClass (2), GObject.ObjectClass (5)

class

register (plugin, name, type)

class

set_use_structure_params (use_structure_params)

class

uses_structure_params ()

Virtual Methods

Inherited:

Gst.Object (1), GObject.Object (7)

Properties

Inherited:

Gst.Object (2)

Name

Type

Flags

Short Description

params

str

r/w/c

Extra configuration parameters

Signals

Inherited:

Gst.Object (1), GObject.Object (1)

Fields

Inherited:

Gst.Object (1), GObject.Object (1)

Name

Type

Access

Description

parent

Gst.Object

r

Class Details

class Gst.Tracer(**kwargs)
Bases:

Gst.Object

Abstract:

Yes

Structure:

Gst.TracerClass

Tracing modules will subclass Gst.Tracer and register through Gst.Tracer.register(). Modules can attach to various hook-types - see Gst.tracing_register_hook(). When invoked they receive hook specific contextual data, which they must not modify.

New in version 1.8.

classmethod register(plugin, name, type)[source]
Parameters:
Returns:

True, if the registering succeeded, False on error

Return type:

bool

Create a new tracer-factory capable of instantiating objects of the type and add the factory to plugin.

classmethod set_use_structure_params(use_structure_params)
Parameters:

use_structure_params (bool) – True to use structure parameters, False otherwise

Sets whether the tracer should use structure parameters for configuration. This function configures how parameters should be passed when instantiating the tracer.

This is typically called in the tracer’s class initialization function to indicate its parameter handling preference.

New in version 1.26.

classmethod uses_structure_params()
Returns:

True if the tracer uses structure parameters, False otherwise

Return type:

bool

If set, the tracer subsystem will consider parameters passed to the GST_TRACERS environment variable as a Gst.Structure and use its fields as properties to instanciate the tracer.

New in version 1.26.

Property Details

Gst.Tracer.props.params
Name:

params

Type:

str

Default Value:

None

Flags:

READABLE, WRITABLE, CONSTRUCT

Extra configuration parameters