You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
21 lines
881 B
21 lines
881 B
--- a/tools/gst-inspect.c
|
|
+++ b/tools/gst-inspect.c
|
|
@@ -1548,7 +1548,7 @@
|
|
g_option_context_add_main_entries (ctx, options, GETTEXT_PACKAGE);
|
|
g_option_context_add_group (ctx, gst_init_get_option_group ());
|
|
if (!g_option_context_parse (ctx, &argc, &argv, &err)) {
|
|
- g_printerr ("Error initializing: %s\n", err->message);
|
|
+ g_printerr ("Error initializing: %s\n", err ? err->message : "(null)");
|
|
g_clear_error (&err);
|
|
g_option_context_free (ctx);
|
|
return -1;
|
|
-------
|
|
g_option_context_add_main_entries (ctx, options, GETTEXT_PACKAGE);
|
|
g_option_context_add_group (ctx, gst_init_get_option_group ());
|
|
if (!g_option_context_parse (ctx, &argc, &argv, &err)) {
|
|
- g_printerr ("Error initializing: %s\n", err->message);
|
|
+ g_printerr ("Error initializing: %s\n", err ? err->message : "(null)");
|
|
return -1;
|
|
}
|
|
g_option_context_free (ctx);
|
|
|
|
|