gst/gstvalue.c (gst_value_is_fixed): Use gst_value_array functions to access arrays...
authorAlessandro Dessina <alessandro@nnva.org>
Mon, 21 Nov 2005 12:27:01 +0000 (12:27 +0000)
committerAndy Wingo <wingo@pobox.com>
Mon, 21 Nov 2005 12:27:01 +0000 (12:27 +0000)
Original commit message from CVS:
2005-11-21  Andy Wingo  <wingo@pobox.com>

patch by: Alessandro Dessina <alessandro nnva org>

* gst/gstvalue.c (gst_value_is_fixed): Use gst_value_array
functions to access arrays. Fixes #321962.

ChangeLog
gst/gstvalue.c

index 2da5b84..341027b 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,10 @@
+2005-11-21  Andy Wingo  <wingo@pobox.com>
+
+       patch by: Alessandro Dessina <alessandro nnva org>
+
+       * gst/gstvalue.c (gst_value_is_fixed): Use gst_value_array
+       functions to access arrays. Fixes #321962.
+
 2005-11-21  Tim-Philipp Müller  <tim at centricular dot net>
 
        * docs/gst/gstreamer.types:
index 66b68fa..4513c32 100644 (file)
@@ -2682,9 +2682,9 @@ gst_value_is_fixed (const GValue * value)
     const GValue *kid;
 
     /* check recursively */
-    size = gst_value_list_get_size (value);
+    size = gst_value_array_get_size (value);
     for (n = 0; n < size; n++) {
-      kid = gst_value_list_get_value (value, n);
+      kid = gst_value_array_get_value (value, n);
       fixed &= gst_value_is_fixed (kid);
     }