[meta-intel] [PATCH v3 1/4] gstreamer-vaapi: upgrade to 0.6.0

Lim Siew Hoon siew.hoon.lim at intel.com
Fri Aug 14 03:02:09 PDT 2015


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.

Fixed the compilation error causing by the install test patch

Signed-off-by: Lim Siew Hoon <siew.hoon.lim at intel.com>
---
 ...-1.0_0.5.10.bb => gstreamer-vaapi-1.0_0.6.0.bb} |  0
 .../gstreamer/gstreamer-vaapi.inc                  |  4 +--
 .../gstreamer/gstreamer-vaapi/install-tests.patch  | 35 ++++++++++++++++++----
 3 files changed, 31 insertions(+), 8 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..18db403 100644
--- a/common/recipes-multimedia/gstreamer/gstreamer-vaapi.inc
+++ b/common/recipes-multimedia/gstreamer/gstreamer-vaapi.inc
@@ -15,8 +15,8 @@ SRC_URI = "http://www.freedesktop.org/software/vaapi/releases/${REALPN}/${REALPN
            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.lim at intel.com>
+Date: Wed, 22 Jul 2015 18:18:15 +0800
+Subject: [PATCH] install tests.
 
 Upstream-Status: Inappropriate
 Signed-off-by: Ross Burton <ross.burton at 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.lim at 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



More information about the meta-intel mailing list