diff options
Diffstat (limited to 'libs/gst/controller/gstinterpolationcontrolsource.c')
-rw-r--r-- | libs/gst/controller/gstinterpolationcontrolsource.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libs/gst/controller/gstinterpolationcontrolsource.c b/libs/gst/controller/gstinterpolationcontrolsource.c index 397ae4f9c..1c7436bec 100644 --- a/libs/gst/controller/gstinterpolationcontrolsource.c +++ b/libs/gst/controller/gstinterpolationcontrolsource.c @@ -562,7 +562,7 @@ gst_interpolation_control_source_unset (GstInterpolationControlSource * self, g_mutex_lock (self->lock); /* check if a control point for the timestamp exists */ - if ((iter = + if (G_LIKELY (self->priv->values) && (iter = g_sequence_search (self->priv->values, ×tamp, (GCompareDataFunc) gst_control_point_find, NULL))) { GstControlPoint *cp; |