diff options
Diffstat (limited to 'meta/packages/gstreamer/gstreamer-0.10.13/gst-inspect-check-error.patch')
-rw-r--r-- | meta/packages/gstreamer/gstreamer-0.10.13/gst-inspect-check-error.patch | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/meta/packages/gstreamer/gstreamer-0.10.13/gst-inspect-check-error.patch b/meta/packages/gstreamer/gstreamer-0.10.13/gst-inspect-check-error.patch new file mode 100644 index 0000000000..5da6cdd9c8 --- /dev/null +++ b/meta/packages/gstreamer/gstreamer-0.10.13/gst-inspect-check-error.patch | |||
@@ -0,0 +1,11 @@ | |||
1 | --- gstreamer-0.10.9/tools/gst-inspect.c.old 2006-09-12 11:56:53.000000000 +0100 | ||
2 | +++ gstreamer-0.10.9/tools/gst-inspect.c 2006-09-12 11:57:27.000000000 +0100 | ||
3 | @@ -1123,7 +1123,7 @@ | ||
4 | g_option_context_add_main_entries (ctx, options, GETTEXT_PACKAGE); | ||
5 | g_option_context_add_group (ctx, gst_init_get_option_group ()); | ||
6 | if (!g_option_context_parse (ctx, &argc, &argv, &err)) { | ||
7 | - g_print ("Error initializing: %s\n", err->message); | ||
8 | + g_print ("Error initializing: %s\n", err ? err->message : "(null)"); | ||
9 | exit (1); | ||
10 | } | ||
11 | g_option_context_free (ctx); | ||