summaryrefslogtreecommitdiffstats
path: root/TOOLS
diff options
context:
space:
mode:
authorwm4 <wm4@nowhere>2015-09-27 21:24:35 +0200
committerwm4 <wm4@nowhere>2015-09-27 21:38:45 +0200
commit8aa8417aa35fd30990a1695380f22179848c6463 (patch)
treeb261790ecaa06c6561721a07eb8c16957194f01a /TOOLS
parent1fa674c109c05e082bf0fb43be064cbdabea3327 (diff)
downloadmpv-8aa8417aa35fd30990a1695380f22179848c6463.tar.bz2
mpv-8aa8417aa35fd30990a1695380f22179848c6463.tar.xz
vo_opengl: vaapi: add Wayland support
Pretty trivial with the new EGL interop. Fixes #478.
Diffstat (limited to 'TOOLS')
-rwxr-xr-xTOOLS/old-configure6
1 files changed, 6 insertions, 0 deletions
diff --git a/TOOLS/old-configure b/TOOLS/old-configure
index d5826ebc55..a7b49da9be 100755
--- a/TOOLS/old-configure
+++ b/TOOLS/old-configure
@@ -612,6 +612,12 @@ _vaapi=$(defretval)
define_yes_no $_vaapi HAVE_VAAPI_HWACCEL
define_yes_no $_vaapi HAVE_VAAPI_X11
+_vaapi_wayland=no
+if test "$_vaapi" = yes ; then
+_vaapi_wayland=auto
+fi
+check_pkg_config "VAAPI Wayland" $_vaapi_wayland VAAPI_WAYLAND 'libva-wayland >= 0.34.0'
+
if test "$_vaapi" = yes ; then
check_pkg_config "VAAPI VPP" auto VAAPI_VPP 'libva >= 0.34.0'
else