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