mpv/video/out/hwdec
Philip Langdale fba1c681b8 vo_gpu: hwdec_vaapi: handle lack of object size with AMD drivers
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.
2020-07-14 07:32:04 +02:00
..
hwdec_cuda.c vo_gpu: hwdec_cuda: Reduce message level of errors while probing 2019-11-17 09:44:32 -08:00
hwdec_cuda.h vo_gpu: hwdec_cuda: Synchronise OpenGL Interop 2019-09-28 19:24:24 +03:00
hwdec_cuda_gl.c vo_gpu: hwdec_cuda: Synchronise OpenGL Interop 2019-09-28 19:24:24 +03:00
hwdec_cuda_vk.c vo_gpu: hwdec_cuda: Reduce message level of errors while probing 2019-11-17 09:44:32 -08:00
hwdec_vaapi.c vo_gpu: hwdec_vaapi: set correct hw_imgfmt value 2020-01-17 15:08:46 +01:00
hwdec_vaapi.h vo_gpu: hwdec_vaegl: remove support for old-style interop 2019-12-28 14:31:34 -08:00
hwdec_vaapi_gl.c vo_gpu: hwdec_vaegl: remove support for old-style interop 2019-12-28 14:31:34 -08:00
hwdec_vaapi_vk.c vo_gpu: hwdec_vaapi: handle lack of object size with AMD drivers 2020-07-14 07:32:04 +02:00