(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
This commit is contained in:
Thomas Vander Stichele 2003-01-29 02:16:01 +00:00
parent a220a973ef
commit ee1c33815d

View file

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