From 3ebd639d34dfd26de3102a2232293cf647f073e9 Mon Sep 17 00:00:00 2001 From: Stefan Sauer Date: Sun, 1 Jan 2012 18:54:23 +0100 Subject: [PATCH] interpolationcontrolsource: fix cubic interpolation for arrays --- libs/gst/controller/gstinterpolationcontrolsource.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libs/gst/controller/gstinterpolationcontrolsource.c b/libs/gst/controller/gstinterpolationcontrolsource.c index f806f203e7..7b625fde46 100644 --- a/libs/gst/controller/gstinterpolationcontrolsource.c +++ b/libs/gst/controller/gstinterpolationcontrolsource.c @@ -437,7 +437,7 @@ interpolate_cubic_get_value_array (GstTimedValueControlSource * self, } if (cp1) { val = _interpolate_cubic (self, cp1, cp1->value, cp2, - (cp2 ? cp2->value : 0.0), timestamp); + (cp2 ? cp2->value : 0.0), ts); ret = TRUE; GST_LOG ("values[%3d]=%lf", i, val); } else {