Gst.Tracer¶
- Subclasses:
None
Methods¶
- Inherited:
- Structs:
class |
|
class |
|
class |
Virtual Methods¶
- Inherited:
Properties¶
- Inherited:
Name |
Type |
Flags |
Short Description |
---|---|---|---|
r/w/c |
Extra configuration parameters |
Signals¶
- Inherited:
Fields¶
- Inherited:
Name |
Type |
Access |
Description |
---|---|---|---|
parent |
r |
Class Details¶
- class Gst.Tracer(**kwargs)¶
- Bases:
- Abstract:
Yes
- Structure:
Tracing modules will subclass
Gst.Tracer
and register throughGst.Tracer.register
(). Modules can attach to various hook-types - seeGst.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:
plugin (
Gst.Plugin
orNone
) – AGst.Plugin
, orNone
for a static typefind functionname (
str
) – The name for registeringtype (
GObject.GType
) –GObject.GType
of tracer to register
- Returns:
- Return type:
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)¶
-
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()¶
-
If set, the tracer subsystem will consider parameters passed to the
GST_TRACERS
environment variable as aGst.Structure
and use its fields as properties to instanciate the tracer.New in version 1.26.