From 7714e7f75f5396e0c73aa7c2278c1081ab92c568 Mon Sep 17 00:00:00 2001 From: David Schleef Date: Wed, 10 Dec 2003 21:11:26 +0000 Subject: [PATCH] more strict _is_fixed checking Original commit message from CVS: more strict _is_fixed checking --- common | 2 +- gst/gstcaps2.c | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/common b/common index b5288e8215..fcdc6ccbcc 160000 --- a/common +++ b/common @@ -1 +1 @@ -Subproject commit b5288e8215c6eacf0782880f6c5b6dea8f445a34 +Subproject commit fcdc6ccbcc674dd487021d87a0313abf02bae396 diff --git a/gst/gstcaps2.c b/gst/gstcaps2.c index 8ab25b0f17..2e41bf24bc 100644 --- a/gst/gstcaps2.c +++ b/gst/gstcaps2.c @@ -333,7 +333,8 @@ gboolean gst_caps2_is_fixed (const GstCaps2 *caps) field = GST_STRUCTURE_FIELD(structure, i); type = G_VALUE_TYPE(&field->value); - if(type == GST_TYPE_INT_RANGE || type == GST_TYPE_DOUBLE_RANGE) { + if(type == GST_TYPE_INT_RANGE || type == GST_TYPE_DOUBLE_RANGE || + type == GST_TYPE_LIST || !(G_TYPE_IS_FUNDAMENTAL(type))) { return FALSE; } }