From 92fdae7cf091c3c408268487c4bdc6664507a2ee Mon Sep 17 00:00:00 2001 From: Thibault Saunier Date: Thu, 23 May 2019 16:58:25 -0400 Subject: [PATCH] tools: Initialize GStreamer before parsin options We need it to be initialized to be able to parse our options --- tools/ges-launcher.c | 1 + 1 file changed, 1 insertion(+) 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); -- 2.7.4