From 290253291788032c465ee27cccd60a2d1ec8c182 Mon Sep 17 00:00:00 2001 From: Gusar321 Date: Mon, 24 Jul 2023 11:50:19 +0200 Subject: [PATCH] build: vaapi-egl should explicitly depend on egl --- meson.build | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/meson.build b/meson.build index 8aeb77848d..ccad5c1ca0 100644 --- a/meson.build +++ b/meson.build @@ -1424,7 +1424,7 @@ if features['vaapi-x11'] endif features += {'vaapi-x-egl': features['vaapi-x11'] and egl_x11.allowed()} -features += {'vaapi-egl': features['vaapi-x11'] or features['vaapi-wayland'] or features['vaapi-drm']} +features += {'vaapi-egl': (features['vaapi-x11'] or features['vaapi-wayland'] or features['vaapi-drm']) and features['egl']} features += {'vaapi-libplacebo': features['vaapi'] and libplacebo.found()} if features['vaapi-egl'] or features['vaapi-libplacebo']