meson: fix condition for enabling vaapi-egl

This commit is contained in:
Owen Rafferty
2022-08-27 10:53:05 -07:00
committed by Philip Langdale
parent 89cab5c32f
commit 1a32bd37e0
+1 -1
View File
@@ -1376,7 +1376,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['drm']}
features += {'vaapi-egl': features['vaapi-x11'] or features['vaapi-wayland'] or features['vaapi-drm']}
features += {'vaapi-libplacebo': features['vaapi'] and libplacebo.found()}
if features['vaapi-egl'] or features['vaapi-libplacebo']