set_control_source


Description:

public bool set_control_source (ControlSource source, string property_name, string binding_type)

Creates a ControlBinding for the specified child property of the track element using the given control source.

The given property_name should refer to an existing child property of the track element, as used in lookup_child.

If binding_type is "direct", then the control binding is created with gst_direct_control_binding_new using the given control source. If binding_type is "direct-absolute", it is created with gst_direct_control_binding_new_absolute instead.

Parameters:

this

A TrackElement

source

The control source to bind the child property to

property_name

The name of the child property to control

binding_type

The type of binding to create ("direct" or "direct-absolute")

Returns:

true if the specified child property could be bound to source, or false if an error occurred.