From 9dc3c08477c3487f8f7e793c71dba0dcdb8c27dc Mon Sep 17 00:00:00 2001 From: Alessandro Dessina Date: Mon, 21 Nov 2005 12:27:01 +0000 Subject: [PATCH] gst/gstvalue.c (gst_value_is_fixed): Use gst_value_array functions to access arrays. Fixes #321962. Original commit message from CVS: 2005-11-21 Andy Wingo patch by: Alessandro Dessina * gst/gstvalue.c (gst_value_is_fixed): Use gst_value_array functions to access arrays. Fixes #321962. --- ChangeLog | 7 +++++++ gst/gstvalue.c | 4 ++-- 2 files changed, 9 insertions(+), 2 deletions(-) diff --git a/ChangeLog b/ChangeLog index 2da5b84..341027b 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,10 @@ +2005-11-21 Andy Wingo + + patch by: Alessandro Dessina + + * gst/gstvalue.c (gst_value_is_fixed): Use gst_value_array + functions to access arrays. Fixes #321962. + 2005-11-21 Tim-Philipp Müller * docs/gst/gstreamer.types: diff --git a/gst/gstvalue.c b/gst/gstvalue.c index 66b68fa..4513c32 100644 --- a/gst/gstvalue.c +++ b/gst/gstvalue.c @@ -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); } -- 2.7.4