From 9c148b46d2acfd8d9984382ecd37adb1afd73363 Mon Sep 17 00:00:00 2001 From: RSWilli Date: Fri, 27 Oct 2023 11:10:04 +0200 Subject: [PATCH] add binding to unset all scheduled control source values --- gst/control_source.go | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/gst/control_source.go b/gst/control_source.go index de44aa2..2e6a997 100644 --- a/gst/control_source.go +++ b/gst/control_source.go @@ -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())) +}