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  <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.
This commit is contained in:
Alessandro Dessina 2005-11-21 12:27:01 +00:00 committed by Andy Wingo
parent d5ce5ad5e8
commit 9dc3c08477
2 changed files with 9 additions and 2 deletions

View file

@ -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:

View 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);
}