From e569c17c76c9cf073d7088b533708e7d3d3d54cc Mon Sep 17 00:00:00 2001 From: Wim Taymans Date: Fri, 26 Jan 2007 09:37:03 +0000 Subject: [PATCH] gst/gstcaps.c: Init caps flags too. Original commit message from CVS: * gst/gstcaps.c: (gst_static_caps_get): Init caps flags too. --- ChangeLog | 5 +++++ gst/gstcaps.c | 1 + 2 files changed, 6 insertions(+) diff --git a/ChangeLog b/ChangeLog index 2ecb1b71a9..4b505fa580 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2007-01-26 Wim Taymans + + * gst/gstcaps.c: (gst_static_caps_get): + Init caps flags too. + 2007-01-25 Sebastian Dröge Patch by: Jindrich Makovicka diff --git a/gst/gstcaps.c b/gst/gstcaps.c index 5cb9ccfce5..ed3eb42ed8 100644 --- a/gst/gstcaps.c +++ b/gst/gstcaps.c @@ -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