GstARGBControlBinding

GstARGBControlBinding — attachment for control sources to argb properties

Synopsis

#include <libs/controller/gstargbcontrolbinding.h>

GstControlBinding * gst_argb_control_binding_new        (GstObject *object,
                                                         const gchar *property_name,
                                                         GstControlSource *cs_a,
                                                         GstControlSource *cs_r,
                                                         GstControlSource *cs_g,
                                                         GstControlSource *cs_b);

Description

A value mapping object that attaches multiple control sources to a guint gobject properties representing a color. A control value of 0.0 will turn the color component off and a value of 1.0 will be the color level.

Details

gst_argb_control_binding_new ()

GstControlBinding * gst_argb_control_binding_new        (GstObject *object,
                                                         const gchar *property_name,
                                                         GstControlSource *cs_a,
                                                         GstControlSource *cs_r,
                                                         GstControlSource *cs_g,
                                                         GstControlSource *cs_b);

Create a new control-binding that attaches the given GstControlSource to the GObject property.

object :

the object of the property

property_name :

the property-name to attach the control source

cs_a :

the control source for the alpha channel

cs_r :

the control source for the red channel

cs_g :

the control source for the green channel

cs_b :

the control source for the blue channel

Returns :

the new GstARGBControlBinding. [transfer floating]