summaryrefslogtreecommitdiffstats
path: root/wscript
diff options
context:
space:
mode:
Diffstat (limited to 'wscript')
-rw-r--r--wscript10
1 files changed, 5 insertions, 5 deletions
diff --git a/wscript b/wscript
index 758a9469ff..82f65b4afa 100644
--- a/wscript
+++ b/wscript
@@ -569,6 +569,11 @@ video_output_features = [
'deps': 'wayland',
'func': check_statement('sys/mman.h',
'memfd_create("mpv", MFD_CLOEXEC | MFD_ALLOW_SEALING)')
+ }, {
+ 'name': '--dmabuf-wayland',
+ 'desc': 'dmabuf-wayland video output',
+ 'deps': 'wayland && memfd_create && drm',
+ 'func': check_true,
} , {
'name': '--x11',
'desc': 'X11',
@@ -697,11 +702,6 @@ video_output_features = [
'deps': 'vaapi && gl-wayland',
'func': check_pkg_config('libva-wayland', '>= 1.1.0'),
}, {
- 'name': 'dmabuf-wayland',
- 'desc': 'Wayland dmabuf support',
- 'deps': 'wayland && memfd_create && (vaapi-wayland || drm)',
- 'func': check_true,
- }, {
'name': '--vaapi-drm',
'desc': 'VAAPI (DRM/EGL support)',
'deps': 'vaapi && egl-drm',