mxf-example: fix usage of argc and argv

This commit is contained in:
Luis de Bethencourt 2015-02-21 17:18:02 +00:00
parent 9454e42db0
commit 4e45b86ed8

View file

@ -177,8 +177,8 @@ on_pad_added (GstElement * src, GstPad * pad, gpointer data)
gst_object_unref (bin); gst_object_unref (bin);
} }
gint int
main (gint argc, gchar ** argv) main (int argc, char **argv)
{ {
GstElement *pipeline, *src, *mxfdemux; GstElement *pipeline, *src, *mxfdemux;
GstBus *bus; GstBus *bus;
@ -189,8 +189,8 @@ main (gint argc, gchar ** argv)
return -1; return -1;
} }
gst_init (NULL, NULL); gst_init (&argc, &argv);
gtk_init (NULL, NULL); gtk_init (&argc, &argv);
pipeline = gst_pipeline_new ("pipeline"); pipeline = gst_pipeline_new ("pipeline");