interpolationcontrolsource: fix cubic interpolation for arrays

This commit is contained in:
Stefan Sauer 2012-01-01 18:54:23 +01:00
parent 3ba0ab5331
commit 3ebd639d34

View 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 {