diff options
author | Anuj Mittal <anuj.mittal@intel.com> | 2018-05-09 12:01:39 +0800 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2018-05-11 07:49:37 +0100 |
commit | e7d761c8852d0cba6c177dca55ebe83d59d71db1 (patch) | |
tree | db85458ee312c0b5f9b41bf0c0cdebd1d2104c32 /meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-base/link-with-libvchostif.patch | |
parent | 37e1470a9a40e3558c9df8012fd26dc4fe205920 (diff) | |
download | poky-e7d761c8852d0cba6c177dca55ebe83d59d71db1.tar.gz |
gst-plugins-base: upgrade 1.12.4 -> 1.14.0
* For changes, please see: https://gstreamer.freedesktop.org/releases/1.14/
* OpenGL integration library has moved to -plugins-base, add PACKAGECONFIG.
* Remove one patch as that has been fixed in a different way upstream.
* Merge inc/bb and refresh patches to get rid of fuzz warnings.
* Remove x86 specific cached variables as they're not needed anymore.
* Add jpeg to PACKAGECONFIG and enable it by default.
* Port gstreamer-gl specific patches from -plugins-bad.
(From OE-Core rev: 5e95178996185976adf2f2d91550fa7ff0e82f54)
Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-base/link-with-libvchostif.patch')
-rw-r--r-- | meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-base/link-with-libvchostif.patch | 45 |
1 files changed, 45 insertions, 0 deletions
diff --git a/meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-base/link-with-libvchostif.patch b/meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-base/link-with-libvchostif.patch new file mode 100644 index 0000000000..d5a7f6bdc2 --- /dev/null +++ b/meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-base/link-with-libvchostif.patch | |||
@@ -0,0 +1,45 @@ | |||
1 | From 9866f51e5e0913f1e453eb574618bf7432f38cb6 Mon Sep 17 00:00:00 2001 | ||
2 | From: Khem Raj <raj.khem@gmail.com> | ||
3 | Date: Wed, 11 Apr 2018 10:46:33 +0800 | ||
4 | Subject: [PATCH] Add -lvchostif to link when using -lEGL on rpi | ||
5 | |||
6 | This is required because libEGL from userland uses sybols | ||
7 | from this library. | ||
8 | |||
9 | lib/libEGL.so.1.0.0 121: 00000000 0 FUNC GLOBAL DEFAULT UND vc_dispmanx_element_add | ||
10 | 1552: 00000000 0 FUNC GLOBAL DEFAULT UND vc_dispmanx_element_add | ||
11 | |||
12 | These symbols are provided by libvchostif as seen below | ||
13 | |||
14 | lib/libvchostif.so | ||
15 | 252: 0000b161 192 FUNC GLOBAL DEFAULT 9 vc_dispmanx_element_add | ||
16 | 809: 0000b161 192 FUNC GLOBAL DEFAULT 9 vc_dispmanx_element_add | ||
17 | |||
18 | With this explicit link, plugins fail during runtime | ||
19 | |||
20 | (gst-plugin-scanner:571): GStreamer-WARNING **: Failed to load plugin '/usr/lib/gstreamer-1.0/libgstomx.so': Error relocating /usr/lib/libgstgl-1.0.so.0: vc_dispmanx_element_add: symbol not found | ||
21 | (gst-plugin-scanner:571): GStreamer-WARNING **: Failed to load plugin '/usr/lib/gstreamer-1.0/libgstopengl.so': Error relocating /usr/lib/libgstgl-1.0.so.0: vc_dispmanx_element_add: symbol not found | ||
22 | |||
23 | Upstream-Status: Pending | ||
24 | Signed-off-by: Khem Raj <raj.khem@gmail.com> | ||
25 | Signed-off-by: Anuj Mittal <anuj.mittal@intel.com> | ||
26 | --- | ||
27 | m4/gst-gl.m4 | 2 +- | ||
28 | 1 file changed, 1 insertion(+), 1 deletion(-) | ||
29 | |||
30 | diff --git a/m4/gst-gl.m4 b/m4/gst-gl.m4 | ||
31 | index 1e97240..ab7774c 100644 | ||
32 | --- a/m4/gst-gl.m4 | ||
33 | +++ b/m4/gst-gl.m4 | ||
34 | @@ -231,7 +231,7 @@ case $host in | ||
35 | HAVE_EGL=yes | ||
36 | HAVE_GLES2=yes | ||
37 | HAVE_EGL_RPI=yes | ||
38 | - EGL_LIBS="-lbcm_host -lvcos -lvchiq_arm" | ||
39 | + EGL_LIBS="-lbcm_host -lvchostif -lvcos -lvchiq_arm" | ||
40 | EGL_CFLAGS="" | ||
41 | AC_DEFINE(USE_EGL_RPI, [1], [Use RPi platform]) | ||
42 | ]) | ||
43 | -- | ||
44 | 2.7.4 | ||
45 | |||