From ee1c33815d125f40887475461cf89a208e8fd129 Mon Sep 17 00:00:00 2001 From: Thomas Vander Stichele Date: Wed, 29 Jan 2003 02:16:01 +0000 Subject: [PATCH] (bit field) & (boolean) probably only worked by accident this is probably more correct Original commit message from CVS: (bit field) & (boolean) probably only worked by accident this is probably more correct --- gst/gstcaps.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/gst/gstcaps.c b/gst/gstcaps.c index 1da7f3a4e0..54464a752e 100644 --- a/gst/gstcaps.c +++ b/gst/gstcaps.c @@ -903,7 +903,7 @@ gst_caps_load_thyself (xmlNodePtr parent) xmlNodePtr subfield = field->xmlChildrenNode; GstCaps *caps; gchar *content; - GstCapsFlags fixed = GST_CAPS_FIXED; + gboolean fixed = TRUE; g_mutex_lock (_gst_caps_chunk_lock); caps = g_mem_chunk_alloc0 (_gst_caps_chunk); @@ -929,7 +929,7 @@ gst_caps_load_thyself (xmlNodePtr parent) subfield = subfield->next; } - GST_CAPS_FLAG_SET (caps, fixed); + if (fixed) GST_CAPS_FLAG_SET (caps, GST_CAPS_FIXED); result = gst_caps_append (result, caps); }