mirror of https://github.com/mpv-player/mpv
85aa9635e0
This makes the condition for including each init match the condition for compiling the file that defines it. It's possible to e.g. HAVE_GL and HAVE_VAAPI without HAVE_VAAPI_EGL, which resulted in "undefined reference to `vaapi_gl_init'" with the old code. |
||
---|---|---|
.. | ||
hwdec_cuda.c | ||
hwdec_cuda.h | ||
hwdec_cuda_gl.c | ||
hwdec_cuda_vk.c | ||
hwdec_vaapi.c | ||
hwdec_vaapi.h | ||
hwdec_vaapi_gl.c | ||
hwdec_vaapi_vk.c |