ges-launch: Make sure GStreamer is always initialized

https://bugzilla.gnome.org/show_bug.cgi?id=776064
This commit is contained in:
Thibault Saunier 2016-12-13 23:26:23 -03:00
parent a6a8abce93
commit e8d9f9226a

View 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);