Add -Wold-style-definition
and fix the warnings
This commit is contained in:
parent
076d3ff456
commit
a200ec01b8
@ -114,7 +114,7 @@ push_and_test (GstCaps * prop_caps, gboolean join, gboolean replace,
|
|||||||
#define SRC_HEIGHT 12
|
#define SRC_HEIGHT 12
|
||||||
|
|
||||||
static GstCaps *
|
static GstCaps *
|
||||||
make_src_caps ()
|
make_src_caps (void)
|
||||||
{
|
{
|
||||||
return gst_caps_new_simple ("video/x-raw-yuv", "width", G_TYPE_INT, SRC_WIDTH,
|
return gst_caps_new_simple ("video/x-raw-yuv", "width", G_TYPE_INT, SRC_WIDTH,
|
||||||
"height", G_TYPE_INT, SRC_HEIGHT, NULL);
|
"height", G_TYPE_INT, SRC_HEIGHT, NULL);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user