mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-09-29 23:32:33 +00:00
(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:
parent
a220a973ef
commit
ee1c33815d
1 changed files with 2 additions and 2 deletions
|
@ -903,7 +903,7 @@ gst_caps_load_thyself (xmlNodePtr parent)
|
||||||
xmlNodePtr subfield = field->xmlChildrenNode;
|
xmlNodePtr subfield = field->xmlChildrenNode;
|
||||||
GstCaps *caps;
|
GstCaps *caps;
|
||||||
gchar *content;
|
gchar *content;
|
||||||
GstCapsFlags fixed = GST_CAPS_FIXED;
|
gboolean fixed = TRUE;
|
||||||
|
|
||||||
g_mutex_lock (_gst_caps_chunk_lock);
|
g_mutex_lock (_gst_caps_chunk_lock);
|
||||||
caps = g_mem_chunk_alloc0 (_gst_caps_chunk);
|
caps = g_mem_chunk_alloc0 (_gst_caps_chunk);
|
||||||
|
@ -929,7 +929,7 @@ gst_caps_load_thyself (xmlNodePtr parent)
|
||||||
|
|
||||||
subfield = subfield->next;
|
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);
|
result = gst_caps_append (result, caps);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue