mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-23 08:46:40 +00:00
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:
parent
d5ce5ad5e8
commit
9dc3c08477
2 changed files with 9 additions and 2 deletions
|
@ -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:
|
||||
|
|
|
@ -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);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue