summaryrefslogtreecommitdiffstats
path: root/etc
diff options
context:
space:
mode:
authorwm4 <wm4@nowhere>2020-02-10 17:45:20 +0100
committerwm4 <wm4@nowhere>2020-02-10 17:45:20 +0100
commitc31661466b8a7efcad418a0ba49f632ea035b2e4 (patch)
treeb05d9c2fd1f358719076e8551cba549e8ec92572 /etc
parenta841fe9484c203ca3492d8a5f88f60f8534c853b (diff)
downloadmpv-c31661466b8a7efcad418a0ba49f632ea035b2e4.tar.bz2
mpv-c31661466b8a7efcad418a0ba49f632ea035b2e4.tar.xz
zimg: fix some confusion about plane permutation
We reorder the planes between mpv and zimg conventions. It turns out the code still confused when which convention was used. So the way it actually works is that the _only_ place where zimg order is used is the zimg_image_buffer.plane[] array. plane_aligned[] and zmask[] were accessed incorrectly, although I guess it rarely had a reason to fail (plane reordering is mostly for RGB, which has planes of all the same size). Adjust some comments accordingly too.
Diffstat (limited to 'etc')
0 files changed, 0 insertions, 0 deletions