mxf-example: fix usage of argc and argv
This commit is contained in:
parent
9454e42db0
commit
4e45b86ed8
@ -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");
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user