diff options
author | wm4 <wm4@nowhere> | 2015-09-27 21:24:35 +0200 |
---|---|---|
committer | wm4 <wm4@nowhere> | 2015-09-27 21:38:45 +0200 |
commit | 8aa8417aa35fd30990a1695380f22179848c6463 (patch) | |
tree | b261790ecaa06c6561721a07eb8c16957194f01a /wscript | |
parent | 1fa674c109c05e082bf0fb43be064cbdabea3327 (diff) | |
download | mpv-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-- | wscript | 9 |
1 files changed, 7 insertions, 2 deletions
@@ -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', |