Class: GstController::TimedValueControlSource
- Inherits:
-
Gst::ControlSource
- Object
- Gst::ControlSource
- GstController::TimedValueControlSource
- Defined in:
- (unknown)
Direct Known Subclasses
Instance Method Summary collapse
-
#all ⇒ GLib::List<GstController::ControlPoint>
Returns a read-only copy of the list of Gst::ControlPoint for the given property.
-
#count ⇒ Integer
Get the number of control points that are set.
-
#find_control_point_iter(timestamp) ⇒ GLib::SequenceIter
Find last value before given timestamp in control point list.
-
#from_list=(timedvalues) ⇒ Boolean
Sets multiple timed values at once.
-
#list_control_points(n_control_points) ⇒ Array<Gst::TimedValue>
Returns an array of Gst::TimedValue representing the control points that have been set on this control source.
-
#set(timestamp, value) ⇒ Boolean
Set the value of given controller-handled property at a certain time.
-
#unset(timestamp) ⇒ Boolean
Used to remove the value of given controller-handled property at a certain time.
-
#unset_all ⇒ nil
Used to remove all time-stamped values of given controller-handled property.
Instance Method Details
#all ⇒ GLib::List<GstController::ControlPoint>
Returns a read-only copy of the list of Gst::ControlPoint for the given property.
Free the list after done with it.
of the list, or nil if the property isn't handled by the controller
#count ⇒ Integer
Get the number of control points that are set.
#find_control_point_iter(timestamp) ⇒ GLib::SequenceIter
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, nil is returned.
For use in control source implementations.
#from_list=(timedvalues) ⇒ Boolean
Sets multiple timed values at once.
with Gst::TimedValue items
#list_control_points(n_control_points) ⇒ Array<Gst::TimedValue>
Returns an array of Gst::TimedValue representing the control points
that have been set on this control source. To modify the value of a
control point, use #gst_timed_value_control_source_set.
control points, or nil if no control points are set.
#set(timestamp, value) ⇒ Boolean
Set the value of given controller-handled property at a certain time.
#unset(timestamp) ⇒ Boolean
Used to remove the value of given controller-handled property at a certain
time.
#unset_all ⇒ nil
Used to remove all time-stamped values of given controller-handled property