diff options
author | wm4 <wm4@nowhere> | 2017-04-02 17:21:42 +0200 |
---|---|---|
committer | wm4 <wm4@nowhere> | 2017-04-02 17:21:42 +0200 |
commit | 6100a7d75f7233484b7e7c448728ba2138eaebb9 (patch) | |
tree | b5ac88d428e34e3636b7172dbb87e34c23f30335 /video/filter/vf_dsize.c | |
parent | dc7d71fc8e3b418f73a07ab46869850279587351 (diff) | |
download | mpv-6100a7d75f7233484b7e7c448728ba2138eaebb9.tar.bz2 mpv-6100a7d75f7233484b7e7c448728ba2138eaebb9.tar.xz |
image_writer: make it work with libavcodec's jpg encoder
Now taking a screenshot actually works, if libjpeg is disabled at
compile time.
In particular, the AV_PIX_FMT_YUVJ formats (with the "J") cause us
problems. They have been deprecated years ago, but the libavcodec jpg
encoder won't accept anything else. This is made worse by the fact that
mpv doesn't have J formats internally - it always uses the color levels
metadata to decide the range instead.
Diffstat (limited to 'video/filter/vf_dsize.c')
0 files changed, 0 insertions, 0 deletions