interpolationcontrolsource: fix cubic interpolation for arrays
authorStefan Sauer <ensonic@users.sf.net>
Sun, 1 Jan 2012 17:54:23 +0000 (18:54 +0100)
committerStefan Sauer <ensonic@users.sf.net>
Sun, 1 Jan 2012 17:54:23 +0000 (18:54 +0100)
libs/gst/controller/gstinterpolationcontrolsource.c

index f806f20..7b625fd 100644 (file)
@@ -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 {