summaryrefslogtreecommitdiffstats
path: root/player/video.c
diff options
context:
space:
mode:
authorwm4 <wm4@nowhere>2017-04-02 17:21:42 +0200
committerwm4 <wm4@nowhere>2017-04-02 17:21:42 +0200
commit6100a7d75f7233484b7e7c448728ba2138eaebb9 (patch)
treeb5ac88d428e34e3636b7172dbb87e34c23f30335 /player/video.c
parentdc7d71fc8e3b418f73a07ab46869850279587351 (diff)
downloadmpv-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 'player/video.c')
0 files changed, 0 insertions, 0 deletions