From 5012a8fddccc99875bb07ce2b3068dd8d59bbb57 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tim-Philipp=20M=C3=BCller?= Date: Mon, 21 Nov 2005 13:12:18 +0000 Subject: [PATCH] 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. --- ChangeLog | 6 ++++++ gst/gstvalue.c | 15 --------------- 2 files changed, 6 insertions(+), 15 deletions(-) diff --git a/ChangeLog b/ChangeLog index 03b1aa494a..3b230621a6 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,9 @@ +2005-11-21 Tim-Philipp Müller + + * 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 * gst/gstevent.h (GST_EVENT_FILLER): Removed. Can be added back diff --git a/gst/gstvalue.c b/gst/gstvalue.c index b7f0d5e089..4513c323da 100644 --- a/gst/gstvalue.c +++ b/gst/gstvalue.c @@ -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); }