mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-01-20 06:08:14 +00:00
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:
parent
2c5cdfe01f
commit
60fa209cbd
2 changed files with 10 additions and 3 deletions
10
ChangeLog
10
ChangeLog
|
@ -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>
|
2006-09-18 Wim Taymans <wim@fluendo.com>
|
||||||
|
|
||||||
* gst/gstghostpad.c: (gst_ghost_pad_new_full):
|
* gst/gstghostpad.c: (gst_ghost_pad_new_full):
|
||||||
Also set template on the internal pad so that a getcaps from the target
|
Also set template on the internal pad so that a getcaps from the
|
||||||
pad returns the template caps.
|
target pad returns the template caps.
|
||||||
|
|
||||||
2006-09-18 Wim Taymans <wim@fluendo.com>
|
2006-09-18 Wim Taymans <wim@fluendo.com>
|
||||||
|
|
||||||
|
|
|
@ -106,8 +106,9 @@ typedef enum {
|
||||||
*/
|
*/
|
||||||
#define GST_STATIC_CAPS(string) \
|
#define GST_STATIC_CAPS(string) \
|
||||||
{ \
|
{ \
|
||||||
/* caps */ { 0 }, \
|
/* caps */ { 0, 0, (GstCapsFlags) 0, NULL, GST_PADDING_INIT }, \
|
||||||
/* string */ string, \
|
/* string */ string, \
|
||||||
|
GST_PADDING_INIT \
|
||||||
}
|
}
|
||||||
|
|
||||||
typedef struct _GstCaps GstCaps;
|
typedef struct _GstCaps GstCaps;
|
||||||
|
|
Loading…
Reference in a new issue