mirror of https://github.com/mpv-player/mpv
c40bd88872
ffmpeg was previously allocating images for frames as the code size, rather than the presentation one (1088 vs 1080 in the most common example). Using the coded size when wrapping images for libplacebo resulted in incorrect scaling from 1088 -> 1080, but even using the presentation size wasn't perfect, as discussed in the original commit. However, ffmpeg has now been updated to use the presentation size for the frame images, after discussions that concluded this must be done because there is no way for a frame consumer to fix the dimensions without copying the frame. With that ffmpeg change, we can just use the normal layout information like all the other hwdecs. |
||
---|---|---|
.. | ||
dmabuf_interop.h | ||
dmabuf_interop_gl.c | ||
dmabuf_interop_pl.c | ||
dmabuf_interop_wl.c | ||
hwdec_aimagereader.c | ||
hwdec_cuda.c | ||
hwdec_cuda.h | ||
hwdec_cuda_gl.c | ||
hwdec_cuda_vk.c | ||
hwdec_drmprime.c | ||
hwdec_drmprime_overlay.c | ||
hwdec_vaapi.c | ||
hwdec_vulkan.c |