meson: fix condition for enabling vaapi-egl

This commit is contained in:
Owen Rafferty 2022-08-27 12:25:31 -05:00 committed by Philip Langdale
parent 89cab5c32f
commit 1a32bd37e0
1 changed files with 1 additions and 1 deletions

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']