ges-launch: Make sure GStreamer is always initialized
authorThibault Saunier <thibault.saunier@osg.samsung.com>
Wed, 14 Dec 2016 02:26:23 +0000 (23:26 -0300)
committerThibault Saunier <thibault.saunier@osg.samsung.com>
Wed, 14 Dec 2016 02:26:23 +0000 (23:26 -0300)
https://bugzilla.gnome.org/show_bug.cgi?id=776064

tools/ges-launcher.c

index 7995712..a2c7881 100644 (file)
@@ -711,6 +711,7 @@ _local_command_line (GApplication * application, gchar ** arguments[],
   *exit_status = 0;
 
   if (!g_option_context_parse (ctx, &argc, &argv, &error)) {
+    gst_init (NULL, NULL);
     g_printerr ("Error initializing: %s\n", error->message);
     g_option_context_free (ctx);
     g_error_free (error);