Request gstreamer-vaapi upgrade for Gen9 platform support. Tested with some video clip format in H265, H264, VC1, HEVC, JPEG, MPEG2, VP8 decode on CHV platform as well.
Gstreamer support corner from gstreamer-vaapi release note: - Removed the support for Gstreamer 0.10 and 1.0. - Gstreamer >= 1.2 the minimal requirement. Add in the dependedcy libva-intel-driver in gstreamer-vaapi.inc. Because gstreamer-vaapi depend to libva-intel-driver as well not just only libva. Fixed the compilation error causing by the install test patch Signed-off-by: Lim Siew Hoon <siew.hoon....@intel.com> --- ...-1.0_0.5.10.bb => gstreamer-vaapi-1.0_0.6.0.bb} | 0 .../gstreamer/gstreamer-vaapi.inc | 6 ++-- .../gstreamer/gstreamer-vaapi/install-tests.patch | 35 ++++++++++++++++++---- 3 files changed, 32 insertions(+), 9 deletions(-) rename common/recipes-multimedia/gstreamer/{gstreamer-vaapi-1.0_0.5.10.bb => gstreamer-vaapi-1.0_0.6.0.bb} (100%) mode change 100644 => 100755 diff --git a/common/recipes-multimedia/gstreamer/gstreamer-vaapi-1.0_0.5.10.bb b/common/recipes-multimedia/gstreamer/gstreamer-vaapi-1.0_0.6.0.bb old mode 100644 new mode 100755 similarity index 100% rename from common/recipes-multimedia/gstreamer/gstreamer-vaapi-1.0_0.5.10.bb rename to common/recipes-multimedia/gstreamer/gstreamer-vaapi-1.0_0.6.0.bb diff --git a/common/recipes-multimedia/gstreamer/gstreamer-vaapi.inc b/common/recipes-multimedia/gstreamer/gstreamer-vaapi.inc index 64c6131..20a17a4 100644 --- a/common/recipes-multimedia/gstreamer/gstreamer-vaapi.inc +++ b/common/recipes-multimedia/gstreamer/gstreamer-vaapi.inc @@ -9,14 +9,14 @@ FILESPATH = "${@base_set_filespath(["${FILE_DIRNAME}/${REALPN}", "${FILE_DIRNAME LICENSE = "LGPLv2.1+" LIC_FILES_CHKSUM = "file://COPYING.LIB;md5=4fbd65380cdd255951079008b364516c" -DEPENDS = "libva" +DEPENDS = "libva libva-intel-driver" SRC_URI = "http://www.freedesktop.org/software/vaapi/releases/${REALPN}/${REALPN}-${PV}.tar.bz2 \ file://install-tests.patch \ " -SRC_URI[md5sum] = "3bd90b696b644be943450ba0c1497193" -SRC_URI[sha256sum] = "0dd236c7bf225322b8934fdba99a7a9e4542566a2acbe7564cdc3ec2c8b73c9d" +SRC_URI[md5sum] = "c8d8ba19d7d18d9e7bd455f73bb5daf2" +SRC_URI[sha256sum] = "f6a4c657606849fb09ee2db778c80278cfa4546e9103862f273c910e208872b8" S = "${WORKDIR}/${REALPN}-${PV}" diff --git a/common/recipes-multimedia/gstreamer/gstreamer-vaapi/install-tests.patch b/common/recipes-multimedia/gstreamer/gstreamer-vaapi/install-tests.patch index 9281b04..7ebbb1b 100644 --- a/common/recipes-multimedia/gstreamer/gstreamer-vaapi/install-tests.patch +++ b/common/recipes-multimedia/gstreamer/gstreamer-vaapi/install-tests.patch @@ -1,14 +1,30 @@ -Install tests. +From 0c915a620ac4f1f679cca21363f4e083812e42d0 Mon Sep 17 00:00:00 2001 +From: Lim Siew Hoon <siew.hoon....@intel.com> +Date: Wed, 22 Jul 2015 18:18:15 +0800 +Subject: [PATCH] install tests. Upstream-Status: Inappropriate Signed-off-by: Ross Burton <ross.bur...@intel.com> +This patch was imported from the meta-intel git server +(git://git.yoctoproject.org/meta-intel) as of commit id +ccc27afc38d0190e25d7c19ebb49d5c33fba3194. + +A previous change had modified the test as get install +into the system causing compilation error after apply into +gstreamer-vaapi 0.6.0. This is due to the test under if USE_GLX +'noinst_PROGRAMS +=' didn't replaced with 'bin_PROGRAMS +='. +The compilation error was resolved by replaced the miss out +'noinst_PROGRAMS +=' to 'bin_PROGRAMS +=' from existing +implementation. + +Signed-off-by: Lim Siew Hoon <siew.hoon....@intel.com> --- - tests/Makefile.am | 4 ++-- - 1 file changed, 2 insertions(+), 2 deletions(-) + tests/Makefile.am | 6 +++--- + 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/tests/Makefile.am b/tests/Makefile.am -index 2e7f191..8f65446 100644 +index 3637d92..7cc6a97 100644 --- a/tests/Makefile.am +++ b/tests/Makefile.am @@ -1,4 +1,4 @@ @@ -17,9 +33,16 @@ index 2e7f191..8f65446 100644 simple-decoder \ test-decode \ test-display \ -@@ -9,7 +9,7 @@ noinst_PROGRAMS = \ +@@ -9,13 +9,13 @@ noinst_PROGRAMS = \ $(NULL) + if USE_ENCODERS +-noinst_PROGRAMS += \ ++bin_PROGRAMS += \ + simple-encoder \ + $(NULL) + endif + if USE_GLX -noinst_PROGRAMS += \ +bin_PROGRAMS += \ @@ -27,5 +50,5 @@ index 2e7f191..8f65446 100644 $(NULL) endif -- -1.7.10.4 +2.1.0 -- 2.1.0 -- _______________________________________________ meta-intel mailing list meta-intel@yoctoproject.org https://lists.yoctoproject.org/listinfo/meta-intel