summaryrefslogtreecommitdiffstats
path: root/meta-ivi-common/recipes-multimedia/gstreamer/gstreamer1.0/0001-Fix-crash-with-gst-inspect.patch
diff options
context:
space:
mode:
authorTadao Tanikawa <tanikawa.tadao@jp.panasonic.com>2015-08-27 18:42:22 +0900
committerTadao Tanikawa <tanikawa.tadao@jp.panasonic.com>2015-08-31 05:30:56 +0000
commitd708e30e4b41ed8a80fac7eea1bd924c2a1645cf (patch)
treec52af09348b00416886f1f3ea5d87e2880015e08 /meta-ivi-common/recipes-multimedia/gstreamer/gstreamer1.0/0001-Fix-crash-with-gst-inspect.patch
parent56eb51bfe05a1dd7c3c49cb7465ed83b0a072c78 (diff)
Copy metadata for GStreamer1.0 from Yocto GENIVI Baseline
There are 2 type of metadata for GStreamer when building GDP/GENIVI baseline, meta-ivi (7.0). One is metadata in meta-ivi which is to install ver.1.2.3 , the other is in poky/meta is to install ver.1.4.1. By default, GENIVI baseline preferred 1.4.x by macro PREFERRED_VERSION_ in poky-ivi-systemd.conf. As a result, for QEMU, GStreamer1.0_1.4.x is used and it works. On the other hand, Renesas BSP (proprietary multimedia packages) requires GStreamer1.0_1.2.x and it override PREFERRED_VERSION_ then select to use 1.2.x instead of 1.4.x. From the above, AGL Distro also need metadata for GStreamer1.0_1.2.x to run software on R-Car Gen2 Porter board. This is the first step to support GStreamer in AGL Distro. All files in this patch are from: URL: git://git.yoctoproject.org/meta-ivi commit: 0d780d0cfd38694ae5e6f0198adcb72684b01acc NOTE: This patch is not completed alone and some error will be got when building with meta-renesas. Please wait a subsequent patches. Change-Id: I8ce1ec2b1593fc59780495459afc8c642e2d80d6 Signed-off-by: Tadao Tanikawa <tanikawa.tadao@jp.panasonic.com>
Diffstat (limited to 'meta-ivi-common/recipes-multimedia/gstreamer/gstreamer1.0/0001-Fix-crash-with-gst-inspect.patch')
-rw-r--r--meta-ivi-common/recipes-multimedia/gstreamer/gstreamer1.0/0001-Fix-crash-with-gst-inspect.patch28
1 files changed, 28 insertions, 0 deletions
diff --git a/meta-ivi-common/recipes-multimedia/gstreamer/gstreamer1.0/0001-Fix-crash-with-gst-inspect.patch b/meta-ivi-common/recipes-multimedia/gstreamer/gstreamer1.0/0001-Fix-crash-with-gst-inspect.patch
new file mode 100644
index 000000000..94f5cc56e
--- /dev/null
+++ b/meta-ivi-common/recipes-multimedia/gstreamer/gstreamer1.0/0001-Fix-crash-with-gst-inspect.patch
@@ -0,0 +1,28 @@
+From 6b26f3dbf9bf577d71534ab7410de66d06e46ba2 Mon Sep 17 00:00:00 2001
+From: Carlos Rafael Giani <dv@pseudoterminal.org>
+Date: Sat, 6 Apr 2013 23:52:11 +0200
+Subject: [PATCH] Fix crash with gst-inspect Chris Lord <chris@openedhand.com>
+
+Upstream-Status: Pending
+
+Signed-off-by: Carlos Rafael Giani <dv@pseudoterminal.org>
+---
+ tools/gst-inspect.c | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/tools/gst-inspect.c b/tools/gst-inspect.c
+index 23b7c44..b79b02e 100644
+--- a/tools/gst-inspect.c
++++ b/tools/gst-inspect.c
+@@ -1556,7 +1556,7 @@ main (int argc, char *argv[])
+ 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);
+--
+1.8.2
+