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.ControlSource
that 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.SequenceIter
orNone
- 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,
None
is returned.For use in control source implementations.
- get_all()[source]¶
- Returns:
a copy of the list, or
None
if the property isn’t handled by the controller- Return type:
Returns a read-only copy of the list of
Gst.TimedValue
for 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.TimedValue
items- 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.TimedValue
where 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.