mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-01-22 07:08:23 +00:00
gst/gstvalue.c: Revert previous commit. Value lists are by definition not fixed, as they are a list of possible values.
Original commit message from CVS: * gst/gstvalue.c: (gst_value_is_fixed): Revert previous commit. Value lists are by definition not fixed, as they are a list of possible values.
This commit is contained in:
parent
e4b8378ba4
commit
5012a8fddc
2 changed files with 6 additions and 15 deletions
|
@ -1,3 +1,9 @@
|
|||
2005-11-21 Tim-Philipp Müller <tim at centricular dot net>
|
||||
|
||||
* gst/gstvalue.c: (gst_value_is_fixed):
|
||||
Revert previous commit. Value lists are by definition
|
||||
not fixed, as they are a list of possible values.
|
||||
|
||||
2005-11-21 Andy Wingo <wingo@pobox.com>
|
||||
|
||||
* gst/gstevent.h (GST_EVENT_FILLER): Removed. Can be added back
|
||||
|
|
|
@ -2691,21 +2691,6 @@ gst_value_is_fixed (const GValue * value)
|
|||
return fixed;
|
||||
}
|
||||
|
||||
if (type == GST_TYPE_LIST) {
|
||||
gboolean fixed = TRUE;
|
||||
gint size, n;
|
||||
const GValue *kid;
|
||||
|
||||
/* check recursively */
|
||||
size = gst_value_list_get_size (value);
|
||||
for (n = 0; n < size; n++) {
|
||||
kid = gst_value_list_get_value (value, n);
|
||||
fixed &= gst_value_is_fixed (kid);
|
||||
}
|
||||
|
||||
return fixed;
|
||||
}
|
||||
|
||||
return gst_type_is_fixed (type);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue