build: vaapi-egl should explicitly depend on egl

This commit is contained in:
Gusar321 2023-07-24 11:50:19 +02:00 committed by sfan5
parent 2e3cb30e46
commit 2902532917
1 changed files with 1 additions and 1 deletions

View File

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