summaryrefslogtreecommitdiffstats
path: root/meta/recipes-multimedia/gstreamer/gstreamer-0.10.35/gst-inspect-check-error.patch
diff options
context:
space:
mode:
authorMartin Jansa <martin.jansa@gmail.com>2011-09-30 17:43:24 +0200
committerRichard Purdie <richard.purdie@linuxfoundation.org>2011-10-10 10:00:09 +0100
commitd90119a25e5b8216467a11c356f0e09844b31511 (patch)
tree32173f2ff3ffc850eea2d6cca5369dd6ca133da7 /meta/recipes-multimedia/gstreamer/gstreamer-0.10.35/gst-inspect-check-error.patch
parent2542b2f28fddadcc79824b72703167b6203d824f (diff)
downloadpoky-d90119a25e5b8216467a11c356f0e09844b31511.tar.gz
gstreamer: upgrade to 0.10.35
(From OE-Core rev: 4b469908a15dc3730e75740c106f3ae89ba51b99) Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-multimedia/gstreamer/gstreamer-0.10.35/gst-inspect-check-error.patch')
-rw-r--r--meta/recipes-multimedia/gstreamer/gstreamer-0.10.35/gst-inspect-check-error.patch16
1 files changed, 16 insertions, 0 deletions
diff --git a/meta/recipes-multimedia/gstreamer/gstreamer-0.10.35/gst-inspect-check-error.patch b/meta/recipes-multimedia/gstreamer/gstreamer-0.10.35/gst-inspect-check-error.patch
new file mode 100644
index 0000000000..30be85f59d
--- /dev/null
+++ b/meta/recipes-multimedia/gstreamer/gstreamer-0.10.35/gst-inspect-check-error.patch
@@ -0,0 +1,16 @@
1# Fix crash with gst-inspect
2# Chris Lord <chris@openedhand.com>
3
4Upstream-Status: Pending
5
6--- gstreamer-0.10.9/tools/gst-inspect.c.old 2006-09-12 11:56:53.000000000 +0100
7+++ gstreamer-0.10.9/tools/gst-inspect.c 2006-09-12 11:57:27.000000000 +0100
8@@ -1123,7 +1123,7 @@
9 g_option_context_add_main_entries (ctx, options, GETTEXT_PACKAGE);
10 g_option_context_add_group (ctx, gst_init_get_option_group ());
11 if (!g_option_context_parse (ctx, &argc, &argv, &err)) {
12- g_print ("Error initializing: %s\n", err->message);
13+ g_print ("Error initializing: %s\n", err ? err->message : "(null)");
14 exit (1);
15 }
16 g_option_context_free (ctx);