From ca50216942301bc06140fec0660665dd91f4f04e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sebastian=20Dr=C3=B6ge?= Date: Mon, 11 Jun 2007 07:14:53 +0000 Subject: [PATCH] libs/gst/controller/gstinterpolation.c: Actually use the new functions with min/max checks for the trigger and none i... Original commit message from CVS: * libs/gst/controller/gstinterpolation.c: Actually use the new functions with min/max checks for the trigger and none interpolation modes for get() and get_value_array() instead of just the latter. --- ChangeLog | 7 +++++++ common | 2 +- libs/gst/controller/gstinterpolation.c | 24 ++++++++++++------------ 3 files changed, 20 insertions(+), 13 deletions(-) diff --git a/ChangeLog b/ChangeLog index e1e746a1a6..8e02aba601 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,10 @@ +2007-06-11 Sebastian Dröge + + * libs/gst/controller/gstinterpolation.c: + Actually use the new functions with min/max checks for the trigger and + none interpolation modes for get() and get_value_array() instead of + just the latter. + 2007-06-10 Sebastian Dröge * libs/gst/controller/gstcontroller.c: diff --git a/common b/common index b5971d76cc..6cb0000a5a 160000 --- a/common +++ b/common @@ -1 +1 @@ -Subproject commit b5971d76ccd216c27e095c02c3a369a9d05cb36d +Subproject commit 6cb0000a5a30d4fc580a06489106a637fca024c4 diff --git a/libs/gst/controller/gstinterpolation.c b/libs/gst/controller/gstinterpolation.c index 04204387cb..d0e7584c1b 100644 --- a/libs/gst/controller/gstinterpolation.c +++ b/libs/gst/controller/gstinterpolation.c @@ -181,17 +181,17 @@ interpolate_none_get_string_value_array (GstControlledProperty * prop, } static GstInterpolateMethod interpolate_none = { - interpolate_none_get, + interpolate_none_get_int, interpolate_none_get_int_value_array, - interpolate_none_get, + interpolate_none_get_uint, interpolate_none_get_uint_value_array, - interpolate_none_get, + interpolate_none_get_long, interpolate_none_get_long_value_array, - interpolate_none_get, + interpolate_none_get_ulong, interpolate_none_get_ulong_value_array, - interpolate_none_get, + interpolate_none_get_float, interpolate_none_get_float_value_array, - interpolate_none_get, + interpolate_none_get_double, interpolate_none_get_double_value_array, interpolate_none_get, interpolate_none_get_boolean_value_array, @@ -317,17 +317,17 @@ interpolate_trigger_get_string_value_array (GstControlledProperty * prop, } static GstInterpolateMethod interpolate_trigger = { - interpolate_trigger_get, + interpolate_trigger_get_int, interpolate_trigger_get_int_value_array, - interpolate_trigger_get, + interpolate_trigger_get_uint, interpolate_trigger_get_uint_value_array, - interpolate_trigger_get, + interpolate_trigger_get_long, interpolate_trigger_get_long_value_array, - interpolate_trigger_get, + interpolate_trigger_get_ulong, interpolate_trigger_get_ulong_value_array, - interpolate_trigger_get, + interpolate_trigger_get_float, interpolate_trigger_get_float_value_array, - interpolate_trigger_get, + interpolate_trigger_get_double, interpolate_trigger_get_double_value_array, interpolate_trigger_get, interpolate_trigger_get_boolean_value_array,