From 8aa8417aa35fd30990a1695380f22179848c6463 Mon Sep 17 00:00:00 2001 From: wm4 Date: Sun, 27 Sep 2015 21:24:35 +0200 Subject: vo_opengl: vaapi: add Wayland support Pretty trivial with the new EGL interop. Fixes #478. --- wscript | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) (limited to 'wscript') diff --git a/wscript b/wscript index f7cc62e211..c6b1857766 100644 --- a/wscript +++ b/wscript @@ -640,13 +640,18 @@ 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', 'desc': 'VAAPI (X11 support)', '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', @@ -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', -- cgit v1.2.3