libs/gst/controller/gstinterpolation.c: Use an array of the correct type when using _get_value_array with linear inte...

Original commit message from CVS:
* libs/gst/controller/gstinterpolation.c:
Use an array of the correct type when using _get_value_array with
linear interpolation.
This commit is contained in:
Sebastian Dröge 2007-05-22 09:56:25 +00:00
parent e87a530b73
commit e55a7a7a85
2 changed files with 7 additions and 1 deletions

View file

@ -1,3 +1,9 @@
2007-05-22 Sebastian Dröge <slomo@circular-chaos.org>
* libs/gst/controller/gstinterpolation.c:
Use an array of the correct type when using _get_value_array with
linear interpolation.
2007-05-22 Stefan Kost <ensonic@users.sf.net>
* gst/gstelement.c (gst_element_requires_clock,

View file

@ -316,7 +316,7 @@ interpolate_linear_get_##type##_value_array (GstControlledProperty * prop, \
{ \
gint i; \
GstClockTime ts = timestamp; \
gint *values = (gint *) value_array->values; \
g##type *values = (g##type *) value_array->values; \
\
for(i = 0; i < value_array->nbsamples; i++) { \
*values = _interpolate_linear_get_##type (prop, ts); \