![]() |
![]() |
![]() |
GStreamer 1.0 Library Reference Manual | ![]() |
---|---|---|---|---|
Top | Description |
#include <libs/controller/gstdirectcontrolbinding.h> GstControlBinding * gst_direct_control_binding_new (GstObject *object
,const gchar *property_name
,GstControlSource *cs
); GstControlBinding * gst_direct_control_binding_new_absolute (GstObject *object
,const gchar *property_name
,GstControlSource *cs
);
A value mapping object that attaches control sources to gobject properties. It will map the control values directly to the target property range. If a non-absolute direct control binding is used, the value range [0.0 ... 1.0] is mapped to full target property range, and all values outside the range will be clipped. An absolute control binding will not do any value transformations.
GstControlBinding * gst_direct_control_binding_new (GstObject *object
,const gchar *property_name
,GstControlSource *cs
);
Create a new control-binding that attaches the GstControlSource to the GObject property. It will map the control source range [0.0 ... 1.0] to the full target property range, and clip all values outside this range.
|
the object of the property |
|
the property-name to attach the control source |
|
the control source |
Returns : |
the new GstDirectControlBinding. [transfer floating] |
GstControlBinding * gst_direct_control_binding_new_absolute (GstObject *object
,const gchar *property_name
,GstControlSource *cs
);
Create a new control-binding that attaches the GstControlSource to the GObject property. It will directly map the control source values to the target property range without any transformations.
|
the object of the property |
|
the property-name to attach the control source |
|
the control source |
Returns : |
the new GstDirectControlBinding. [transfer floating] |
Since 1.6