mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-01-10 17:35:59 +00:00
tools: Initialize GStreamer before parsin options
We need it to be initialized to be able to parse our options
This commit is contained in:
parent
ed9cbfed92
commit
92fdae7cf0
1 changed files with 1 additions and 0 deletions
|
@ -748,6 +748,7 @@ _local_command_line (GApplication * application, gchar ** arguments[],
|
|||
argc = g_strv_length (argv);
|
||||
*exit_status = 0;
|
||||
|
||||
gst_init (&argc, &argv);
|
||||
if (!g_option_context_parse (ctx, &argc, &argv, &error)) {
|
||||
gst_init (NULL, NULL);
|
||||
g_printerr ("Error initializing: %s\n", error->message);
|
||||
|
|
Loading…
Reference in a new issue