mirror of https://github.com/mpv-player/mpv
build: vaapi-egl should explicitly depend on egl
This commit is contained in:
parent
2e3cb30e46
commit
2902532917
|
@ -1424,7 +1424,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['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()}
|
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