GstControlSource

The #GstControlSource is a base class for control value sources that could be used to get timestamp-value pairs. A control source essentially is a function over time.

A #GstControlSource is used by first getting an instance of a specific control-source, creating a binding for the control-source to the target property of the element and then adding the binding to the element. The binding will convert the data types and value range to fit to the bound property.

For implementing a new #GstControlSource one has to implement #GstControlSourceGetValue and #GstControlSourceGetValueArray functions. These are then used by gst.control_source.ControlSource.controlSourceGetValue and gst.control_source.ControlSource.controlSourceGetValueArray to get values for specific timestamps.

Members

Variables

GstReserved
void*[4] GstReserved;
getValue
GstControlSourceGetValue getValue;

Function for returning a value for a given timestamp

getValueArray
GstControlSourceGetValueArray getValueArray;

Function for returning a values array for a given timestamp

parent
GstObject parent;

the parent structure