GstController.TimedValueControlSource¶
Methods¶
- Inherited:
- Structs:
|
|
|
|
|
|
|
|
|
|
|
|
|
Virtual Methods¶
- Inherited:
Properties¶
- Inherited:
Signals¶
- Inherited:
Name |
Short Description |
|---|---|
Emitted right after the new value has been added to self |
|
Emitted right after the new value has been set on timed_signals |
|
Emitted when timed_value is removed from self |
Fields¶
- Inherited:
Name |
Type |
Access |
Description |
|---|---|---|---|
lock |
r |
||
nvalues |
r |
||
parent |
r |
||
valid_cache |
r |
||
values |
r |
Class Details¶
- class GstController.TimedValueControlSource(**kwargs)¶
- Bases:
- Abstract:
Yes
- Structure:
Base class for
Gst.ControlSourcethat use time-stamped values.When overriding bind, chain up first to give this bind implementation a chance to setup things.
All functions are MT-safe.
- find_control_point_iter(timestamp)[source]¶
- Parameters:
timestamp (
int) – the search key- Returns:
the found
GLib.SequenceIterorNone- Return type:
Find last value before given timestamp in control point list. If all values in the control point list come after the given timestamp or no values exist,
Noneis returned.For use in control source implementations.
- get_all()[source]¶
- Returns:
a copy of the list, or
Noneif the property isn’t handled by the controller- Return type:
Returns a read-only copy of the list of
Gst.TimedValuefor the given property. Free the list after done with it.
- get_count()[source]¶
- Returns:
the number of control points that are set.
- Return type:
Get the number of control points that are set.
- set(timestamp, value)[source]¶
- Parameters:
- Returns:
- Return type:
Set the value of given controller-handled property at a certain time.
- set_from_list(timedvalues)[source]¶
- Parameters:
timedvalues ([
Gst.TimedValue]) – a list withGst.TimedValueitems- Returns:
- Return type:
Sets multiple timed values at once.
Signal Details¶
- GstController.TimedValueControlSource.signals.value_added(timed_value_control_source, timed_value)¶
- Signal Name:
value-added- Flags:
- Parameters:
timed_value_control_source (
GstController.TimedValueControlSource) – The object which received the signaltimed_value (
GstController.ControlPoint) – The newly addedGst.TimedValue
Emitted right after the new value has been added to self
New in version 1.6.
- GstController.TimedValueControlSource.signals.value_changed(timed_value_control_source, timed_value)¶
- Signal Name:
value-changed- Flags:
- Parameters:
timed_value_control_source (
GstController.TimedValueControlSource) – The object which received the signaltimed_value (
GstController.ControlPoint) – TheGst.TimedValuewhere the value changed
Emitted right after the new value has been set on timed_signals
New in version 1.6.
- GstController.TimedValueControlSource.signals.value_removed(timed_value_control_source, timed_value)¶
- Signal Name:
value-removed- Flags:
- Parameters:
timed_value_control_source (
GstController.TimedValueControlSource) – The object which received the signaltimed_value (
GstController.ControlPoint) – The removedGst.TimedValue
Emitted when timed_value is removed from self
New in version 1.6.