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
This commit is contained in:
Jan Schmidt 2006-09-20 16:17:26 +00:00
parent 2c5cdfe01f
commit 60fa209cbd
2 changed files with 10 additions and 3 deletions

View file

@ -1,8 +1,14 @@
2006-09-20 Jan Schmidt <thaytan@mad.scientist.com>
* gst/gstcaps.h:
Add extra initialisers for Caps things, to fix some plugin warnings
when using -Wextra
2006-09-18 Wim Taymans <wim@fluendo.com>
* 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 <wim@fluendo.com>

View file

@ -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;