From 4e45b86ed836bc3bcb41f06d7d3427bc770fde1e Mon Sep 17 00:00:00 2001 From: Luis de Bethencourt Date: Sat, 21 Feb 2015 17:18:02 +0000 Subject: [PATCH] mxf-example: fix usage of argc and argv --- tests/examples/mxf/mxfdemux-structure.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/tests/examples/mxf/mxfdemux-structure.c b/tests/examples/mxf/mxfdemux-structure.c index 6a263f72b1..e6bd052a1e 100644 --- a/tests/examples/mxf/mxfdemux-structure.c +++ b/tests/examples/mxf/mxfdemux-structure.c @@ -177,8 +177,8 @@ on_pad_added (GstElement * src, GstPad * pad, gpointer data) gst_object_unref (bin); } -gint -main (gint argc, gchar ** argv) +int +main (int argc, char **argv) { GstElement *pipeline, *src, *mxfdemux; GstBus *bus; @@ -189,8 +189,8 @@ main (gint argc, gchar ** argv) return -1; } - gst_init (NULL, NULL); - gtk_init (NULL, NULL); + gst_init (&argc, &argv); + gtk_init (&argc, &argv); pipeline = gst_pipeline_new ("pipeline");