diff options
author | Dudemanguy <random342@airmail.cc> | 2022-06-18 20:51:31 -0500 |
---|---|---|
committer | Dudemanguy <random342@airmail.cc> | 2022-06-19 02:24:31 +0000 |
commit | 44ecf83a1bd94f69cbe7e55b900f2502d15d7d5c (patch) | |
tree | 1c9cfb530187e5ed7b8444e07407597a685328b2 /video/out/vo_vaapi_wayland.c | |
parent | 07d78f8c8b4997c9331d376737d8107a89e91bdd (diff) | |
download | mpv-44ecf83a1bd94f69cbe7e55b900f2502d15d7d5c.tar.bz2 mpv-44ecf83a1bd94f69cbe7e55b900f2502d15d7d5c.tar.xz |
meson: use require when checking for vdpau
Technically this was wrong. If you passed -Dvdpau=enabled but did not
have x11 (a requirement for this), the build would silently just not
build the vdpau VO. The correct behavior is for it to be a hard error.
Accomplish this by using the require function and making sure that x11
is indeed being used before attempting to find the library.
Diffstat (limited to 'video/out/vo_vaapi_wayland.c')
0 files changed, 0 insertions, 0 deletions