Commit a200ec01 authored by Benjamin Otte's avatar Benjamin Otte Committed by Tim-Philipp Müller
Browse files

Add -Wold-style-definition

and fix the warnings
parent 076d3ff4
...@@ -114,7 +114,7 @@ push_and_test (GstCaps * prop_caps, gboolean join, gboolean replace, ...@@ -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);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment