GstController.TriggerControlSource

g GObject.InitiallyUnowned GObject.InitiallyUnowned Gst.Object Gst.Object GObject.InitiallyUnowned->Gst.Object GObject.Object GObject.Object GObject.Object->GObject.InitiallyUnowned Gst.ControlSource Gst.ControlSource GstController.TimedValueControlSource GstController.TimedValueControlSource Gst.ControlSource->GstController.TimedValueControlSource Gst.Object->Gst.ControlSource GstController.TriggerControlSource GstController.TriggerControlSource GstController.TimedValueControlSource->GstController.TriggerControlSource

Subclasses:

None

Methods

Inherited:

GstController.TimedValueControlSource (7), Gst.ControlSource (2), Gst.Object (27), GObject.Object (37)

Structs:

GObject.ObjectClass (5)

class

new ()

Virtual Methods

Inherited:

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

Properties

Inherited:

Gst.Object (2)

Name

Type

Flags

Short Description

tolerance

int

r/w

Amount of ns a control time can be off to still trigger

Signals

Inherited:

GstController.TimedValueControlSource (3), Gst.Object (1), GObject.Object (1)

Fields

Inherited:

GstController.TimedValueControlSource (3), Gst.Object (1), GObject.Object (1)

Name

Type

Access

Description

parent

GstController.TimedValueControlSource

r

Class Details

class GstController.TriggerControlSource(**kwargs)
Bases:

GstController.TimedValueControlSource

Abstract:

No

Structure:

GstController.TriggerControlSourceClass

GstController.TriggerControlSource is a Gst.ControlSource, that returns values from user-given control points. It allows for a tolerance on the time-stamps.

To use GstController.TriggerControlSource get a new instance by calling GstController.TriggerControlSource.new(), bind it to a GObject.ParamSpec and set some control points by calling GstController.TimedValueControlSource.set().

All functions are MT-safe.

classmethod new()[source]
Returns:

a new, unbound GstController.TriggerControlSource.

Return type:

Gst.ControlSource

This returns a new, unbound GstController.TriggerControlSource.

Property Details

GstController.TriggerControlSource.props.tolerance
Name:

tolerance

Type:

int

Default Value:

0

Flags:

READABLE, WRITABLE

Amount of ns a control time can be off to still trigger