mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-23 02:01:12 +00:00
gst/gstcaps.c: Init caps flags too.
Original commit message from CVS: * gst/gstcaps.c: (gst_static_caps_get): Init caps flags too.
This commit is contained in:
parent
46848a3595
commit
e569c17c76
2 changed files with 6 additions and 0 deletions
|
@ -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>
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue