summaryrefslogtreecommitdiffstats
path: root/stream/stream_memory.c
diff options
context:
space:
mode:
authorwm4 <wm4@nowhere>2020-02-12 18:01:22 +0100
committerwm4 <wm4@nowhere>2020-02-12 18:01:22 +0100
commit7c8b40c38a9858166d804c362aa03119073ed947 (patch)
treeaff1b7b204dc19f5f78ca6548c0e832275d832ac /stream/stream_memory.c
parent0848f3f8325e10690d08c436fe71603a2cca0699 (diff)
downloadmpv-7c8b40c38a9858166d804c362aa03119073ed947.tar.bz2
mpv-7c8b40c38a9858166d804c362aa03119073ed947.tar.xz
zimg: correct output to odd (chroma un-aligned) sizes
As suggested by the zimg author: active_region is not supported on outputs (and the API returns an error), so instead scale to the "full" surface, but adjust the source rectangle such that the cropped output image happens to cover the correct region. Does this even work? Since Balmer Peak doesn't work, I can't really say, but it seems to look correct.
Diffstat (limited to 'stream/stream_memory.c')
0 files changed, 0 insertions, 0 deletions