mirror of
https://github.com/go-gst/go-gst.git
synced 2025-10-07 00:43:29 +08:00
add binding to unset all scheduled control source values
This commit is contained in:
@@ -43,3 +43,7 @@ func (cs *InterpolationControlSource) SetInterpolationMode(mode InterpolationMod
|
||||
func (cs *InterpolationControlSource) SetTimedValue(time ClockTime, value float64) bool {
|
||||
return gobool(C.gst_timed_value_control_source_set(C.toGstTimedValueControlSource(cs.Unsafe()), C.GstClockTime(time), C.double(value)))
|
||||
}
|
||||
|
||||
func (cs *InterpolationControlSource) UnsetAll() {
|
||||
C.gst_timed_value_control_source_unset_all(C.toGstTimedValueControlSource(cs.Unsafe()))
|
||||
}
|
||||
|
Reference in New Issue
Block a user