summaryrefslogtreecommitdiffstats
path: root/video/out/vulkan/context.c
diff options
context:
space:
mode:
authorPhilip Langdale <philipl@overt.org>2023-05-28 20:52:28 -0700
committerPhilip Langdale <github.philipl@overt.org>2023-05-29 10:16:29 -0700
commitc40bd888729212f698156b57e49391d3b51f8f07 (patch)
tree81a7478946944f84ccee00d7ee2225a7dd555c9e /video/out/vulkan/context.c
parent872b068cb75d6d3b173b3d60bf0b1cd375a6d20d (diff)
downloadmpv-c40bd888729212f698156b57e49391d3b51f8f07.tar.bz2
mpv-c40bd888729212f698156b57e49391d3b51f8f07.tar.xz
hwdec_vulkan: account for vulkan frames now using presentation size
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.
Diffstat (limited to 'video/out/vulkan/context.c')
0 files changed, 0 insertions, 0 deletions