mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-10-06 02:32:23 +00:00
mxf-example: fix usage of argc and argv
This commit is contained in:
parent
9454e42db0
commit
4e45b86ed8
1 changed files with 4 additions and 4 deletions
|
@ -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");
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue