Skip to contentSkip to conversation

gstreamer1.0-plugins-bad: append patches for imx targets to remove cross-impaction for qoriq

PATCH In review Zhenhua Luo 2 participants 2 messages Nov 8, 2016 – Nov 9, 2016

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 gstreamer1.0-plugins-bad: append patches for imx targets to remove cross-impaction for qoriq

Those patches cross-impacts QorIQ targets build and the following build error appears when gstreamer1.0-plugins-bad is built for QorIQ PPC targets. Apply the patches for imx targets only.

Error log:

| In file included from ../../../../gst-plugins-bad-1.8.3/gst-libs/gst/gl/gstglbufferpool.c:33:0:
| ../../../../gst-plugins-bad-1.8.3/gst-libs/gst/gl/gstglphymemory.h:27:47: fatal error: gst/allocators/gstallocatorphymem.h: No such file or directory
|  #include <gst/allocators/gstallocatorphymem.h>
|                                                ^
| compilation terminated.
| Makefile:1134: recipe for target 'libgstgl_1.0_la-gstglbufferpool.lo' failed
---
 recipes-multimedia/gstreamer/gstreamer1.0-plugins-bad_%.bbappend | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
recipes-multimedia/gstreamer/gstreamer1.0-plugins-bad_%.bbappend +1 -1
index 55fc760..119583a 100644
@@ -10,7 +10,7 @@ PACKAGECONFIG_GL_imxgpu2d = "${@bb.utils.contains('DISTRO_FEATURES', 'opengl x11
 PACKAGECONFIG_GL_imxgpu3d = "${@bb.utils.contains('DISTRO_FEATURES', 'opengl', 'gles2', '', d)}"
 
 
-SRC_URI_append = " \
+SRC_URI_append_imx = " \
     file://0001-glplugin-Change-wayland-default-res-to-1024x768.patch \
     file://0002-Support-fb-backend-for-gl-plugins.patch \
     file://0003-Add-directviv-to-glimagesink-to-improve-playback-per.patch \
Signature · 1 line
2.7.4
#1 lore raw
Quoted 5 lines · Zhenhua Luo

Those patches cross-impacts QorIQ targets build and the following build error appears when gstreamer1.0-plugins-bad is built for QorIQ PPC targets. Apply the patches for imx targets only.

Error log:

Quoted 8 lines
| In file included from ../../../../gst-plugins-bad-1.8.3/gst-libs/gst/gl/gstglbufferpool.c:33:0:
| ../../../../gst-plugins-bad-1.8.3/gst-libs/gst/gl/gstglphymemory.h:27:47: fatal error: gst/allocators/gstallocatorphymem.h: No such file or directory
|  #include <gst/allocators/gstallocatorphymem.h>
|                                                ^
| compilation terminated.
| Makefile:1134: recipe for target 'libgstgl_1.0_la-gstglbufferpool.lo' failed

I think your branch is old; this has been fixes few days ago.

Signature · 3 lines
Otavio Salvador                             O.S. Systems
http://www.ossystems.com.br        http://code.ossystems.com.br
Mobile: +55 (53) 9981-7854            Mobile: +1 (347) 903-9750