From 3f51f61efe93c104ba7996f54f381c6c1a5e6546 Mon Sep 17 00:00:00 2001 From: Scott D Phillips Date: Fri, 22 Jul 2016 16:16:21 -0700 Subject: gstreamer-vaapi: Update to upstream version 1.8.2 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 Signed-off-by: Tom Zanussi --- .../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 (limited to 'common/recipes-multimedia') 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 be8f47a7..00000000 --- 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 00000000..3343baeb --- /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 7a298902..6dea9cfc 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 92a6f083..00000000 --- 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 -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 -Signed-off-by: Azril Ahmad -Signed-off-by: Chang Rebecca Swee Fun ---- - 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 - -- cgit v1.2.3-54-g00ecf