[0.11] gstreamer: interpolationcontrolsource: fix cubic interpolation for arrays

Stefan Kost ensonic at kemper.freedesktop.org
Sun Jan 1 09:54:51 PST 2012


Module: gstreamer
Branch: 0.11
Commit: 3ebd639d34dfd26de3102a2232293cf647f073e9
URL:    http://cgit.freedesktop.org/gstreamer/gstreamer/commit/?id=3ebd639d34dfd26de3102a2232293cf647f073e9

Author: Stefan Sauer <ensonic at users.sf.net>
Date:   Sun Jan  1 18:54:23 2012 +0100

interpolationcontrolsource: fix cubic interpolation for arrays

---

 .../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 f806f20..7b625fd 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 {



More information about the gstreamer-commits mailing list