[meta-intel] [PATCH 0/1] gstreamer-vaapi: Update to upstream version 1.8.2
Trevor Woerner
twoerner at gmail.com
Wed Jul 27 15:09:06 PDT 2016
Hi Ross,
Thanks for continuing to help out :-)
On Wed 2016-07-27 @ 05:49:01 PM, Burton, Ross wrote:
> Hi Trevor,
>
> On 26 July 2016 at 19:24, Trevor Woerner <twoerner at gmail.com> wrote:
>
> > It seems as though adding:
> >
> > PACKAGECONFIG_pn-gstreamer1.0-plugins-bad = "opengl"
> >
> > to local.conf fixes the issue. But my distro does contain opengl as part of
> > its DISTRO_FEATURES. So I'm not entirely sure why this configuration option
> > wouldn't turn itself on by default :-(
> >
>
> Going back to this, it appears that for me at least with the standard
> configuration gstreamer-gl is always built, and enabling opengl simply adds
> more pieces to the gstreamer-gl library: out of the box it builds a
> gstreamer-gl which links to GLES.
Odd. I've done two builds
$ bitbake gstreamer1.0-plugins-bad
before each build I do
$ bitbake -c cleansstate gstreamer1.0-plugins-bad
for one of the builds I have the following line in conf/local.conf; for the
other, I don't:
PACKAGECONFIG_pn-gstreamer1.0-plugins-bad = "opengl"
I've saved the entire contents of the following in ~/tmp/gst/no-opengl and
~/tmp/gst/opengl (as appropriate):
tmp/work/corei7-64-<distro>-linux/gstreamer1.0-plugins-bad/1.8.2-r0/
$ diff -ur --brief no-opengl/image/ opengl/image/ | sort
[remove all "Files ... and ... differ" lines]
Only in no-opengl/image/usr/lib/gstreamer-1.0: libgstbluez.la
Only in no-opengl/image/usr/lib/gstreamer-1.0: libgstbluez.so
Only in no-opengl/image/usr/lib/gstreamer-1.0: libgstbz2.la
Only in no-opengl/image/usr/lib/gstreamer-1.0: libgstbz2.so
Only in no-opengl/image/usr/lib/gstreamer-1.0: libgstcurl.la
Only in no-opengl/image/usr/lib/gstreamer-1.0: libgstcurl.so
Only in no-opengl/image/usr/lib/gstreamer-1.0: libgstdashdemux.la
Only in no-opengl/image/usr/lib/gstreamer-1.0: libgstdashdemux.so
Only in no-opengl/image/usr/lib/gstreamer-1.0: libgstdtls.la
Only in no-opengl/image/usr/lib/gstreamer-1.0: libgstdtls.so
Only in no-opengl/image/usr/lib/gstreamer-1.0: libgsthls.la
Only in no-opengl/image/usr/lib/gstreamer-1.0: libgsthls.so
Only in no-opengl/image/usr/lib/gstreamer-1.0: libgstneonhttpsrc.la
Only in no-opengl/image/usr/lib/gstreamer-1.0: libgstneonhttpsrc.so
Only in no-opengl/image/usr/lib/gstreamer-1.0: libgstrsvg.la
Only in no-opengl/image/usr/lib/gstreamer-1.0: libgstrsvg.so
Only in no-opengl/image/usr/lib/gstreamer-1.0: libgstsbc.la
Only in no-opengl/image/usr/lib/gstreamer-1.0: libgstsbc.so
Only in no-opengl/image/usr/lib/gstreamer-1.0: libgstsmoothstreaming.la
Only in no-opengl/image/usr/lib/gstreamer-1.0: libgstsmoothstreaming.so
Only in no-opengl/image/usr/lib/gstreamer-1.0: libgstsndfile.la
Only in no-opengl/image/usr/lib/gstreamer-1.0: libgstsndfile.so
Only in no-opengl/image/usr/lib/gstreamer-1.0: libgstuvch264.la
Only in no-opengl/image/usr/lib/gstreamer-1.0: libgstuvch264.so
Only in no-opengl/image/usr/lib/gstreamer-1.0: libgstwebp.la
Only in no-opengl/image/usr/lib/gstreamer-1.0: libgstwebp.so
Only in opengl/image/usr/include/gstreamer-1.0/gst: gl
Only in opengl/image/usr/lib/girepository-1.0: GstGL-1.0.typelib
Only in opengl/image/usr/lib/gstreamer-1.0: include
Only in opengl/image/usr/lib/gstreamer-1.0: libgstopengl.la
Only in opengl/image/usr/lib/gstreamer-1.0: libgstopengl.so
Only in opengl/image/usr/lib: libgstgl-1.0.la
Only in opengl/image/usr/lib: libgstgl-1.0.so
Only in opengl/image/usr/lib: libgstgl-1.0.so.0
Only in opengl/image/usr/lib: libgstgl-1.0.so.0.802.0
Only in opengl/image/usr/lib/pkgconfig: gstreamer-gl-1.0.pc
Only in opengl/image/usr/share/gir-1.0: GstGL-1.0.gir
I believe the libgstgl is what the gstreamer-vaapi build wants, and in my case
it only exists in the opengl build.
> Do you have some local/distro configuration which is fiddling the
> PACKAGECONFIG for gstreamer-plugins-bad, or does your DISTRO_FEATURES not
> contain opengl?
I don't think so. The only packageconfig I have is for my chromium build:
# $PACKAGECONFIG_pn-chromium-x11
PACKAGECONFIG_pn-chromium-x11="disable-api-keys-info-bar ignore-lost-context impl-side-painting kiosk-mode"
# $PACKAGECONFIG [4 operations]
PACKAGECONFIG=""
# Handle PACKAGECONFIG
# PACKAGECONFIG ??= "<default options>"
# PACKAGECONFIG[foo] = "--enable-foo,--disable-foo,foo_depends,foo_runtime_depends"
pkgconfigflags = d.getVarFlags("PACKAGECONFIG") or {}
pkgconfig = (d.getVar('PACKAGECONFIG', True) or "").split()
bb.error("%s: PACKAGECONFIG[%s] Only enable,disable,depend,rdepend can be specified!"
appendVar('PACKAGECONFIG_CONFARGS', extraconf)
# to get PACKAGECONFIG options are fixed to use PACKAGECONFIG_CONFARGS
error_msg = "%s rdepends on %s, but it isn't a build dependency, missing %s in DEPENDS or PACKAGECONFIG?" % (pkg, rdepend, rdep_data['PN'])
# Check invalid PACKAGECONFIG
pkgconfig = (d.getVar("PACKAGECONFIG", True) or "").split()
pkgconfigflags = d.getVarFlags("PACKAGECONFIG") or {}
error_msg = "%s: invalid PACKAGECONFIG: %s" % (pn, pconfig)
More information about the meta-intel
mailing list