Corruption when using --video-rotate with 4:2:2 chroma subsampled JPEGs #3568

Closed
rossy opened this Issue Sep 22, 2016 · 0 comments

Projects

None yet

1 participant

@rossy
Member
rossy commented Sep 22, 2016

The same image converted to 4:2:0 or 4:4:4 doesn't seem affected.

mpv version and platform

git @9959622

Reproduction steps

mpv https://files.jrg.systems/DSC_0307.JPG --no-config --pause --video-rotate=90

Log files

https://gist.github.com/rossy/3dc8a3f53ad022d5e3dc53c81be65f9b

Sample files

https://files.jrg.systems/DSC_0307.JPG

@wm4 wm4 added a commit that closed this issue Sep 22, 2016
@wm4 wm4 vo_opengl: apply 90° rotation to chroma texture size
When we rotate the inmage by 90° or 270°, chroma width and height need
to be swapped.

Fixes #3568.

But is the chroma sub location correct? Who the hell knows...
c296b62
@wm4 wm4 closed this in c296b62 Sep 22, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment