From 60fa209cbd51225af4701f5765776af5efe4106b Mon Sep 17 00:00:00 2001 From: Jan Schmidt Date: Wed, 20 Sep 2006 16:17:26 +0000 Subject: [PATCH] gst/gstcaps.h: Add extra initialisers for Caps things, to fix some plugin warnings when using -Wextra Original commit message from CVS: * gst/gstcaps.h: Add extra initialisers for Caps things, to fix some plugin warnings when using -Wextra --- ChangeLog | 10 ++++++++-- gst/gstcaps.h | 3 ++- 2 files changed, 10 insertions(+), 3 deletions(-) diff --git a/ChangeLog b/ChangeLog index 82176888a9..41b376b630 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,8 +1,14 @@ +2006-09-20 Jan Schmidt + + * gst/gstcaps.h: + Add extra initialisers for Caps things, to fix some plugin warnings + when using -Wextra + 2006-09-18 Wim Taymans * gst/gstghostpad.c: (gst_ghost_pad_new_full): - Also set template on the internal pad so that a getcaps from the target - pad returns the template caps. + Also set template on the internal pad so that a getcaps from the + target pad returns the template caps. 2006-09-18 Wim Taymans diff --git a/gst/gstcaps.h b/gst/gstcaps.h index 77d3ce9116..8d8d22f628 100644 --- a/gst/gstcaps.h +++ b/gst/gstcaps.h @@ -106,8 +106,9 @@ typedef enum { */ #define GST_STATIC_CAPS(string) \ { \ - /* caps */ { 0 }, \ + /* caps */ { 0, 0, (GstCapsFlags) 0, NULL, GST_PADDING_INIT }, \ /* string */ string, \ + GST_PADDING_INIT \ } typedef struct _GstCaps GstCaps;