projects
/
platform
/
upstream
/
gst-editing-services.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ed9cbfe
)
tools: Initialize GStreamer before parsin options
author
Thibault Saunier
<tsaunier@igalia.com>
Thu, 23 May 2019 20:58:25 +0000
(16:58 -0400)
committer
Thibault Saunier
<tsaunier@igalia.com>
Thu, 23 May 2019 21:16:27 +0000
(17:16 -0400)
We need it to be initialized to be able to parse our options
tools/ges-launcher.c
patch
|
blob
|
history
diff --git
a/tools/ges-launcher.c
b/tools/ges-launcher.c
index
b1b24f2
..
ee71c2e
100644
(file)
--- a/
tools/ges-launcher.c
+++ b/
tools/ges-launcher.c
@@
-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);