summaryrefslogtreecommitdiffstats
path: root/meta/recipes-multimedia/gstreamer/gstreamer1.0
diff options
context:
space:
mode:
Diffstat (limited to 'meta/recipes-multimedia/gstreamer/gstreamer1.0')
-rw-r--r--meta/recipes-multimedia/gstreamer/gstreamer1.0/0001-Fix-crash-with-gst-inspect.patch28
1 files changed, 28 insertions, 0 deletions
diff --git a/meta/recipes-multimedia/gstreamer/gstreamer1.0/0001-Fix-crash-with-gst-inspect.patch b/meta/recipes-multimedia/gstreamer/gstreamer1.0/0001-Fix-crash-with-gst-inspect.patch
new file mode 100644
index 0000000000..94f5cc56e8
--- /dev/null
+++ b/meta/recipes-multimedia/gstreamer/gstreamer1.0/0001-Fix-crash-with-gst-inspect.patch
@@ -0,0 +1,28 @@
1From 6b26f3dbf9bf577d71534ab7410de66d06e46ba2 Mon Sep 17 00:00:00 2001
2From: Carlos Rafael Giani <dv@pseudoterminal.org>
3Date: Sat, 6 Apr 2013 23:52:11 +0200
4Subject: [PATCH] Fix crash with gst-inspect Chris Lord <chris@openedhand.com>
5
6Upstream-Status: Pending
7
8Signed-off-by: Carlos Rafael Giani <dv@pseudoterminal.org>
9---
10 tools/gst-inspect.c | 2 +-
11 1 file changed, 1 insertion(+), 1 deletion(-)
12
13diff --git a/tools/gst-inspect.c b/tools/gst-inspect.c
14index 23b7c44..b79b02e 100644
15--- a/tools/gst-inspect.c
16+++ b/tools/gst-inspect.c
17@@ -1556,7 +1556,7 @@ main (int argc, char *argv[])
18 g_option_context_add_main_entries (ctx, options, GETTEXT_PACKAGE);
19 g_option_context_add_group (ctx, gst_init_get_option_group ());
20 if (!g_option_context_parse (ctx, &argc, &argv, &err)) {
21- g_printerr ("Error initializing: %s\n", err->message);
22+ g_printerr ("Error initializing: %s\n", err ? err->message : "(null)");
23 return -1;
24 }
25 g_option_context_free (ctx);
26--
271.8.2
28