From: Thibault Saunier Date: Thu, 23 May 2019 20:58:25 +0000 (-0400) Subject: tools: Initialize GStreamer before parsin options X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=92fdae7cf091c3c408268487c4bdc6664507a2ee;p=platform%2Fupstream%2Fgst-editing-services.git tools: Initialize GStreamer before parsin options We need it to be initialized to be able to parse our options --- diff --git a/tools/ges-launcher.c b/tools/ges-launcher.c index b1b24f2..ee71c2e 100644 --- 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);