From: Andy Wingo Date: Mon, 28 Nov 2005 10:04:45 +0000 (+0000) Subject: gst/gstpad.c (fixate_value): Use array functions for arrays. X-Git-Tag: RELEASE-0_9_7~106 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=3cf09efb9227ceecb589ee9017fbb395b41c9b98;p=platform%2Fupstream%2Fgstreamer.git gst/gstpad.c (fixate_value): Use array functions for arrays. Original commit message from CVS: 2005-11-28 Andy Wingo * gst/gstpad.c (fixate_value): Use array functions for arrays. --- diff --git a/ChangeLog b/ChangeLog index c413d4e..3e48577 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,7 @@ +2005-11-28 Andy Wingo + + * gst/gstpad.c (fixate_value): Use array functions for arrays. + 2005-11-28 Edward Hervey * tools/gst-launch.c: (main): diff --git a/gst/gstpad.c b/gst/gstpad.c index 47a298c..77ed21d 100644 --- a/gst/gstpad.c +++ b/gst/gstpad.c @@ -1943,15 +1943,15 @@ fixate_value (GValue * dest, const GValue * src) guint n; g_value_init (dest, GST_TYPE_ARRAY); - for (n = 0; n < gst_value_list_get_size (src); n++) { + for (n = 0; n < gst_value_array_get_size (src); n++) { GValue kid = { 0 }; - const GValue *orig_kid = gst_value_list_get_value (src, n); + const GValue *orig_kid = gst_value_array_get_value (src, n); if (!fixate_value (&kid, orig_kid)) gst_value_init_and_copy (&kid, orig_kid); else res = TRUE; - gst_value_list_append_value (dest, &kid); + gst_value_array_append_value (dest, &kid); g_value_unset (&kid); }