aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorWade Farnsworth <wfarnsworth@users.noreply.github.com>2019-03-18 08:30:36 -0700
committerGitHub <noreply@github.com>2019-03-18 08:30:36 -0700
commitdc68c4869ed4a4d2e2eac01590d62c8ca6726f77 (patch)
tree6c2277b9cd2b9640666e1ed7068e1e964dee3500
parentf406e14e39a9b08565acfadf8a5867662b7665c8 (diff)
parent1d081b0c08c5ee9271e0d6670ac118fcdcbb6bd1 (diff)
downloadmeta-amd-dc68c4869ed4a4d2e2eac01590d62c8ca6726f77.tar.gz
meta-amd-dc68c4869ed4a4d2e2eac01590d62c8ca6726f77.tar.bz2
meta-amd-dc68c4869ed4a4d2e2eac01590d62c8ca6726f77.zip
Merge pull request #618 from abelal/gst-vaapi
gstreamer1.0-vaapi: fix mesa driver whitelist
-rw-r--r--common/recipes-multimedia/gstreamer/gstreamer1.0-vaapi/0001-plugins-update-mesa-s-vendor-string-in-whitelist.patch33
-rw-r--r--common/recipes-multimedia/gstreamer/gstreamer1.0-vaapi_%.bbappend2
2 files changed, 35 insertions, 0 deletions
diff --git a/common/recipes-multimedia/gstreamer/gstreamer1.0-vaapi/0001-plugins-update-mesa-s-vendor-string-in-whitelist.patch b/common/recipes-multimedia/gstreamer/gstreamer1.0-vaapi/0001-plugins-update-mesa-s-vendor-string-in-whitelist.patch
new file mode 100644
index 00000000..16c5b866
--- /dev/null
+++ b/common/recipes-multimedia/gstreamer/gstreamer1.0-vaapi/0001-plugins-update-mesa-s-vendor-string-in-whitelist.patch
@@ -0,0 +1,33 @@
+From 19fe5c4d07e48dce1a64085f96653cad4498db2e Mon Sep 17 00:00:00 2001
+From: =?UTF-8?q?V=C3=ADctor=20Manuel=20J=C3=A1quez=20Leal?=
+ <vjaquez@igalia.com>
+Date: Mon, 12 Feb 2018 19:00:36 +0100
+Subject: [PATCH] plugins: update mesa's vendor string in whitelist
+
+Mesa has updated its VA-API Gallium driver vendor string:
+
+https://cgit.freedesktop.org/mesa/mesa/commit/?id=5db29d62ce1fefa3f2ee6e4a4688576fde4bde4a
+
+This patch tries to cover both, the old and the new one.
+
+https://bugzilla.gnome.org/show_bug.cgi?id=793386
+---
+ gst/vaapi/gstvaapipluginutil.c | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/gst/vaapi/gstvaapipluginutil.c b/gst/vaapi/gstvaapipluginutil.c
+index 9e733059..0ff46bc0 100644
+--- a/gst/vaapi/gstvaapipluginutil.c
++++ b/gst/vaapi/gstvaapipluginutil.c
+@@ -836,7 +836,7 @@ gst_vaapi_driver_is_whitelisted (GstVaapiDisplay * display)
+ guint i;
+ static const gchar *whitelist[] = {
+ "Intel i965 driver",
+- "mesa gallium vaapi",
++ "mesa gallium",
+ NULL
+ };
+
+--
+2.11.1
+
diff --git a/common/recipes-multimedia/gstreamer/gstreamer1.0-vaapi_%.bbappend b/common/recipes-multimedia/gstreamer/gstreamer1.0-vaapi_%.bbappend
index 08c41975..f49d24af 100644
--- a/common/recipes-multimedia/gstreamer/gstreamer1.0-vaapi_%.bbappend
+++ b/common/recipes-multimedia/gstreamer/gstreamer1.0-vaapi_%.bbappend
@@ -1 +1,3 @@
+FILESEXTRAPATHS_prepend := "${THISDIR}/${PN}:"
+SRC_URI_append_amd = " file://0001-plugins-update-mesa-s-vendor-string-in-whitelist.patch"
DEPENDS_append_amd = " libva-x11"