diff --git a/libs/gst/controller/gsttimedvaluecontrolsource.c b/libs/gst/controller/gsttimedvaluecontrolsource.c index 42fa976914..c4fc6102d1 100644 --- a/libs/gst/controller/gsttimedvaluecontrolsource.c +++ b/libs/gst/controller/gsttimedvaluecontrolsource.c @@ -348,7 +348,10 @@ gst_timed_value_control_source_unset (GstTimedValueControlSource * self, self->nvalues--; self->valid_cache = FALSE; res = TRUE; + } else { + cp = NULL; } + } g_mutex_unlock (&self->lock);