mirror of
https://github.com/mpv-player/mpv.git
synced 2024-09-20 03:52:22 +02:00
meson: fix condition for enabling vaapi-egl
This commit is contained in:
parent
89cab5c32f
commit
1a32bd37e0
@ -1376,7 +1376,7 @@ if features['vaapi-x11']
|
|||||||
endif
|
endif
|
||||||
|
|
||||||
features += {'vaapi-x-egl': features['vaapi-x11'] and egl_x11.allowed()}
|
features += {'vaapi-x-egl': features['vaapi-x11'] and egl_x11.allowed()}
|
||||||
features += {'vaapi-egl': features['vaapi-x11'] or features['vaapi-wayland'] or features['drm']}
|
features += {'vaapi-egl': features['vaapi-x11'] or features['vaapi-wayland'] or features['vaapi-drm']}
|
||||||
features += {'vaapi-libplacebo': features['vaapi'] and libplacebo.found()}
|
features += {'vaapi-libplacebo': features['vaapi'] and libplacebo.found()}
|
||||||
|
|
||||||
if features['vaapi-egl'] or features['vaapi-libplacebo']
|
if features['vaapi-egl'] or features['vaapi-libplacebo']
|
||||||
|
Loading…
Reference in New Issue
Block a user