summaryrefslogtreecommitdiffstats
path: root/wscript
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 /wscript
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 'wscript')
-rw-r--r--wscript9
1 files changed, 7 insertions, 2 deletions
diff --git a/wscript b/wscript
index f7cc62e211..c6b1857766 100644
--- a/wscript
+++ b/wscript
@@ -640,7 +640,7 @@ video_output_features = [
'name': '--vaapi',
'desc': 'VAAPI acceleration',
'deps': [ 'libdl' ],
- 'deps_any': [ 'x11' ],
+ 'deps_any': [ 'x11', 'wayland' ],
'func': check_pkg_config('libva', '>= 0.34.0'),
}, {
'name': '--vaapi-x11',
@@ -648,6 +648,11 @@ video_output_features = [
'deps': [ 'vaapi', 'x11' ],
'func': check_pkg_config('libva-x11', '>= 0.34.0'),
}, {
+ 'name': '--vaapi-wayland',
+ 'desc': 'VAAPI (Wayland support)',
+ 'deps': [ 'vaapi', 'wayland' ],
+ 'func': check_pkg_config('libva-wayland', '>= 0.34.0'),
+ }, {
'name': '--vaapi-vpp',
'desc': 'VAAPI VPP',
'deps': [ 'vaapi' ],
@@ -666,7 +671,7 @@ video_output_features = [
'name': 'vaapi-egl',
'desc': 'VAAPI EGL',
'deps': [ 'c11-tls' ], # indirectly
- 'deps_any': [ 'vaapi-x-egl' ],
+ 'deps_any': [ 'vaapi-x-egl', 'vaapi-wayland' ],
'func': check_true,
}, {
'name': '--caca',