mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-22 09:41:07 +00:00
gst/gstvalue.c: Limit check for whether a list contains a value already to a normal list only (since this is allowed ...
Original commit message from CVS: * gst/gstvalue.c: (gst_value_list_append_value): Limit check for whether a list contains a value already to a normal list only (since this is allowed for a fixed-list). Should fix testsuite.
This commit is contained in:
parent
777061b2e9
commit
6dc13c13e1
2 changed files with 8 additions and 2 deletions
|
@ -1,3 +1,10 @@
|
|||
2005-06-03 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
|
||||
|
||||
* gst/gstvalue.c: (gst_value_list_append_value):
|
||||
Limit check for whether a list contains a value already to
|
||||
a normal list only (since this is allowed for a fixed-list).
|
||||
Should fix testsuite.
|
||||
|
||||
2005-06-03 Andreas Schwab <schwab@suse.de>
|
||||
|
||||
Reviewed by: Ronald S. Bultje <rbultje@ronald.bitfreak.net>
|
||||
|
|
|
@ -243,7 +243,7 @@ gst_value_list_append_value (GValue * value, const GValue * append_value)
|
|||
g_return_if_fail (GST_VALUE_HOLDS_LIST (value)
|
||||
|| GST_VALUE_HOLDS_FIXED_LIST (value));
|
||||
#ifndef G_DISABLE_CHECKS
|
||||
G_STMT_START {
|
||||
if (GST_VALUE_HOLDS_LIST (value)) {
|
||||
guint i;
|
||||
|
||||
for (i = 0; i < gst_value_list_get_size (value); i++) {
|
||||
|
@ -259,7 +259,6 @@ gst_value_list_append_value (GValue * value, const GValue * append_value)
|
|||
}
|
||||
}
|
||||
}
|
||||
G_STMT_END;
|
||||
#endif
|
||||
|
||||
gst_value_init_and_copy (&val, append_value);
|
||||
|
|
Loading…
Reference in a new issue