mirror of https://github.com/mpv-player/mpv
fba1c681b8
It turns out that the AMD driver doesn't bother to set the size field in the descriptor for an exported VA surface. I guess they assume the caller can always use lseek() and don't bother. So, we need to use lseek() in these situations. Modified-by: Niklas Haas <git@haasn.xyz> Guarded this behind PL_API_VER >= 88 to prevent it from exploding on older libplacebo versions, where vaapi support does not yet work properly on AMD due to lack of DRM modifiers. |
||
---|---|---|
.. | ||
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 |