mirror of
https://github.com/mpv-player/mpv.git
synced 2024-09-20 03:52:22 +02:00
build: vaapi-drm and vaapi-wayland do not depend on egl
This commit is contained in:
parent
ff3739b36e
commit
2e3cb30e46
@ -1405,13 +1405,13 @@ if features['vaapi']
|
||||
endif
|
||||
|
||||
vaapi_drm = dependency('libva-drm', version: '>= 1.1.0', required: get_option('vaapi-drm').require(features['vaapi']))
|
||||
features += {'vaapi-drm': features['vaapi'] and egl_drm.allowed() and vaapi_drm.found()}
|
||||
features += {'vaapi-drm': features['vaapi'] and vaapi_drm.found()}
|
||||
if features['vaapi-drm']
|
||||
dependencies += vaapi_drm
|
||||
endif
|
||||
|
||||
vaapi_wayland = dependency('libva-wayland', version: '>= 1.1.0', required: get_option('vaapi-wayland').require(features['vaapi']))
|
||||
features += {'vaapi-wayland': features['vaapi'] and features['egl-wayland'] and vaapi_wayland.found()}
|
||||
features += {'vaapi-wayland': features['vaapi'] and vaapi_wayland.found()}
|
||||
if features['vaapi-wayland']
|
||||
dependencies += vaapi_wayland
|
||||
endif
|
||||
|
@ -86,7 +86,7 @@ option('plain-gl', type: 'feature', value: 'auto', description: 'OpenGL without
|
||||
option('vdpau', type: 'feature', value: 'auto', description: 'VDPAU acceleration')
|
||||
option('vdpau-gl-x11', type: 'feature', value: 'auto', description: 'VDPAU with OpenGL/X11')
|
||||
option('vaapi', type: 'feature', value: 'auto', description: 'VAAPI acceleration')
|
||||
option('vaapi-drm', type: 'feature', value: 'auto', description: 'VAAPI (DRM/EGL support)')
|
||||
option('vaapi-drm', type: 'feature', value: 'auto', description: 'VAAPI (DRM support)')
|
||||
option('vaapi-wayland', type: 'feature', value: 'auto', description: 'VAAPI (Wayland support)')
|
||||
option('vaapi-x11', type: 'feature', value: 'auto', description: 'VAAPI (X11 support)')
|
||||
option('vaapi-x-egl', type: 'feature', value: 'auto', description: 'VAAPI EGL on X11')
|
||||
|
Loading…
Reference in New Issue
Block a user