[meta-intel] [PATCH 1/1] gstreamer-vaapi: Update to upstream version 1.8.2

Scott D Phillips scott.d.phillips at intel.com
Fri Jul 22 16:16:21 PDT 2016


With the 1.8.x series gstreamer-vaapi got integrated into the
maintainership of the greater GStreamer project.  Also this
upstreaming introduced a policy change in the source base where
gstreamer-vaapi versions are now tested only with the GStreamer
version with the same number (as opposed to the past pre-upstream
source base which had a policy of supporting a range of GStreamer
versions).  So care should be taken to keep the gstreamer-vaapi
build configuration in sync with the gstreamer build configuration.

Signed-off-by: Scott D Phillips <scott.d.phillips at intel.com>
---
 .../gstreamer/gstreamer-vaapi-1.0_0.7.0.bb         |  8 ------
 .../gstreamer/gstreamer-vaapi-1.0_1.8.2.bb         |  6 +++++
 .../gstreamer/gstreamer-vaapi.inc                  |  4 +--
 ...5-Fix-offset-calculation-in-codec_data-pa.patch | 31 ----------------------
 4 files changed, 7 insertions(+), 42 deletions(-)
 delete mode 100644 common/recipes-multimedia/gstreamer/gstreamer-vaapi-1.0_0.7.0.bb
 create mode 100644 common/recipes-multimedia/gstreamer/gstreamer-vaapi-1.0_1.8.2.bb
 delete mode 100644 common/recipes-multimedia/gstreamer/gstreamer-vaapi/0001-decoder-h265-Fix-offset-calculation-in-codec_data-pa.patch

diff --git a/common/recipes-multimedia/gstreamer/gstreamer-vaapi-1.0_0.7.0.bb b/common/recipes-multimedia/gstreamer/gstreamer-vaapi-1.0_0.7.0.bb
deleted file mode 100644
index be8f47a..0000000
--- a/common/recipes-multimedia/gstreamer/gstreamer-vaapi-1.0_0.7.0.bb
+++ /dev/null
@@ -1,8 +0,0 @@
-require gstreamer-vaapi.inc
-
-DEPENDS += "gstreamer1.0 gstreamer1.0-plugins-base gstreamer1.0-plugins-bad"
-
-SRC_URI[md5sum] = "ce2d4921b8d9c78edd609d95e8c502d3"
-SRC_URI[sha256sum] = "abe8ea4dfb3177d038b38610537c651b943707ed110882782a19b95a9ea04a92"
-
-SRC_URI =+ "file://0001-decoder-h265-Fix-offset-calculation-in-codec_data-pa.patch"
diff --git a/common/recipes-multimedia/gstreamer/gstreamer-vaapi-1.0_1.8.2.bb b/common/recipes-multimedia/gstreamer/gstreamer-vaapi-1.0_1.8.2.bb
new file mode 100644
index 0000000..3343bae
--- /dev/null
+++ b/common/recipes-multimedia/gstreamer/gstreamer-vaapi-1.0_1.8.2.bb
@@ -0,0 +1,6 @@
+require gstreamer-vaapi.inc
+
+DEPENDS += "gstreamer1.0 gstreamer1.0-plugins-base gstreamer1.0-plugins-bad"
+
+SRC_URI[md5sum] = "5683e0e950160f6a4b5bcd47176baad0"
+SRC_URI[sha256sum] = "5479e86f593d80c00bbd4a43b16b2027cb935412a2bb22c9ba4ac085627a9229"
diff --git a/common/recipes-multimedia/gstreamer/gstreamer-vaapi.inc b/common/recipes-multimedia/gstreamer/gstreamer-vaapi.inc
index 7a29890..6dea9cf 100644
--- a/common/recipes-multimedia/gstreamer/gstreamer-vaapi.inc
+++ b/common/recipes-multimedia/gstreamer/gstreamer-vaapi.inc
@@ -11,7 +11,7 @@ LIC_FILES_CHKSUM = "file://COPYING.LIB;md5=4fbd65380cdd255951079008b364516c"
 
 DEPENDS = "libva"
 
-SRC_URI = "http://www.freedesktop.org/software/vaapi/releases/${REALPN}/${REALPN}-${PV}.tar.bz2 \
+SRC_URI = "https://gstreamer.freedesktop.org/src/${REALPN}/${REALPN}-${PV}.tar.xz \
           "
 
 S = "${WORKDIR}/${REALPN}-${PV}"
@@ -20,8 +20,6 @@ inherit autotools pkgconfig gtk-doc
 
 PACKAGES =+ "${PN}-tests"
 
-EXTRA_OECONF += "--disable-builtin-libvpx"
-
 PACKAGECONFIG ??= "drm \
                    ${@bb.utils.contains("DISTRO_FEATURES", "opengl x11", "glx", "", d)} \
                    ${@bb.utils.contains("DISTRO_FEATURES", "wayland", "wayland", "", d)} \
diff --git a/common/recipes-multimedia/gstreamer/gstreamer-vaapi/0001-decoder-h265-Fix-offset-calculation-in-codec_data-pa.patch b/common/recipes-multimedia/gstreamer/gstreamer-vaapi/0001-decoder-h265-Fix-offset-calculation-in-codec_data-pa.patch
deleted file mode 100644
index 92a6f08..0000000
--- a/common/recipes-multimedia/gstreamer/gstreamer-vaapi/0001-decoder-h265-Fix-offset-calculation-in-codec_data-pa.patch
+++ /dev/null
@@ -1,31 +0,0 @@
-From dd227da41e953e79c8e05cd6f838a0e267d2d9b5 Mon Sep 17 00:00:00 2001
-From: Sreerenj Balachandran <sreerenj.balachandran at intel.com>
-Date: Fri, 11 Mar 2016 17:44:07 +0200
-Subject: [PATCH] decoder: h265: Fix offset calculation in codec_data parsing
-
-Upstream-status: Backport
-
-https://bugzilla.gnome.org/show_bug.cgi?id=762922
-
-Signed-off-by: Sreerenj Balachandran <sreerenj.balachandran at intel.com>
-Signed-off-by: Azril Ahmad <mohd.azril.ahmad at intel.com>
-Signed-off-by: Chang Rebecca Swee Fun <rebecca.swee.fun.chang at intel.com>
----
- gst-libs/gst/vaapi/gstvaapidecoder_h265.c | 1 +
- 1 file changed, 1 insertion(+)
-
-diff --git a/gst-libs/gst/vaapi/gstvaapidecoder_h265.c b/gst-libs/gst/vaapi/gstvaapidecoder_h265.c
-index 3c5a9d9..fd8250a 100644
---- a/gst-libs/gst/vaapi/gstvaapidecoder_h265.c
-+++ b/gst-libs/gst/vaapi/gstvaapidecoder_h265.c
-@@ -2688,6 +2688,7 @@ gst_vaapi_decoder_h265_decode_codec_data (GstVaapiDecoder *
-             goto cleanup;
-           break;
-       }
-+      ofs = pi->nalu.offset + pi->nalu.size;
-       gst_vaapi_parser_info_h265_replace (&pi, NULL);
-     }
-   }
--- 
-1.9.1
-
-- 
2.5.5



More information about the meta-intel mailing list