clamp_control_source


Description:

[ Version ( since = "1.18" ) ]
public void clamp_control_source (string property_name)

Clamp the GstTimedValueControlSource for the specified child property to lie between the in_point and out-point of the element.

The out-point is the GES_TIMELINE_ELEMENT_END of the element translated from the timeline coordinates to the internal source coordinates of the element.

If the property does not have a GstTimedValueControlSource set by set_control_source, nothing happens. Otherwise, if a timed value for the control source lies before the in-point of the element, or after its out-point, then it will be removed. At the in-point and out-point times, a new interpolated value will be placed.

Parameters:

this

A TrackElement

property_name

The name of the child property to clamp the control source of