caps: fix compilation warning

GST_STATIC_CAPS is missing initializer for GstMiniObject's n_weak_refs and
weak_refs resulting in compilation warning (llvm-gcc  -Wall)

https://bugzilla.gnome.org/show_bug.cgi?id=664927
This commit is contained in:
Matej Knopp 2011-11-27 20:32:14 +01:00 committed by Tim-Philipp Müller
parent 588dcec8ae
commit 62dce62e00

View file

@ -127,7 +127,7 @@ typedef enum {
*/
#define GST_STATIC_CAPS(string) \
{ \
/* miniobject */ { { 0, 0, 0, 0, NULL, NULL, NULL }, \
/* miniobject */ { { 0, 0, 0, 0, NULL, NULL, NULL, 0, NULL }, \
/* caps */ NULL }, \
/* string */ string, \
GST_PADDING_INIT \