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); }