gst/gstcaps.c: Init caps flags too.
authorWim Taymans <wim.taymans@gmail.com>
Fri, 26 Jan 2007 09:37:03 +0000 (09:37 +0000)
committerWim Taymans <wim.taymans@gmail.com>
Fri, 26 Jan 2007 09:37:03 +0000 (09:37 +0000)
Original commit message from CVS:
* gst/gstcaps.c: (gst_static_caps_get):
Init caps flags too.

ChangeLog
gst/gstcaps.c

index 2ecb1b7..4b505fa 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2007-01-26  Wim Taymans  <wim@fluendo.com>
+
+       * gst/gstcaps.c: (gst_static_caps_get):
+       Init caps flags too.
+
 2007-01-25  Sebastian Dröge  <slomo@circular-chaos.org>
 
        Patch by: Jindrich Makovicka <jindrich.makovick at itonis dot tv>
index 5cb9ccf..ed3eb42 100644 (file)
@@ -456,6 +456,7 @@ gst_static_caps_get (GstStaticCaps * static_caps)
      * of the result caps to 0 so that other threads don't run away with the
      * caps while we are constructing it. */
     temp.type = GST_TYPE_CAPS;
+    temp.flags = 0;
     temp.structs = g_ptr_array_new ();
 
     /* initialize the caps to a refcount of 1 so the caps can be writable for