summaryrefslogtreecommitdiffstats
path: root/DOCS
diff options
context:
space:
mode:
authorwm4 <wm4@nowhere>2017-10-09 15:15:53 +0200
committerwm4 <wm4@nowhere>2017-10-09 15:15:53 +0200
commit622610bad50c48da106b58d458b3598aaf4a493b (patch)
treea91b67d306ebcccf08f29cd7078a44a8dbbe0f99 /DOCS
parent4c7c8daf9ccea7ac6a9089be362d254771c50811 (diff)
downloadmpv-622610bad50c48da106b58d458b3598aaf4a493b.tar.bz2
mpv-622610bad50c48da106b58d458b3598aaf4a493b.tar.xz
img_format: AV_PIX_FMT_PAL8 is RGB
This partiular format is not marked as AV_PIX_FMT_FLAG_RGB in FFmpeg's pixdesc table, so mpv assumed it's a YUV format. This is a regression, since the old code in mp_imgfmt_get_desc() also treated this format specially to avoid this problem. Another format which was special-cased in the old code was AV_PIX_FMT_MONOBLACK, so make an exception for it as well. Maybe this problem could be avoided by mp_image_params_guess_csp() not forcing certain colorimetric parameters by the implied colorspace, but certainly that would cause other problems. At least there are mistagged files out there that would break. (Do we actually care?) Fixes #4965.
Diffstat (limited to 'DOCS')
0 files changed, 0 insertions, 0 deletions