summaryrefslogtreecommitdiffstats
path: root/player/video.c
diff options
context:
space:
mode:
authorwm4 <wm4@nowhere>2015-11-01 14:11:43 +0100
committerwm4 <wm4@nowhere>2015-11-01 14:11:43 +0100
commitcdeb0e4c72cd9c0ebed233bcee80d19250d57550 (patch)
tree0d4ffd353b03c07dc0d431ff3639f49d50385d15 /player/video.c
parent8fd63c8f0cfb6c95a534f61942a5d0a0f5623b25 (diff)
downloadmpv-cdeb0e4c72cd9c0ebed233bcee80d19250d57550.tar.bz2
mpv-cdeb0e4c72cd9c0ebed233bcee80d19250d57550.tar.xz
video: fix playback of pal8
PAL8 is the only format that is RGB, has only 1 component, is byte- aligned. It was accidentally detected by the GBRP case as planar RGB. (It would have been ok if it were gray; what ruins it is that it's actually paletted, and the color values do not correspond to colors (but palette entries). Pseudo-pal formats are ok; in fact AV_PIX_FMT_GRAY is rightfully marked as MP_IMGFLAG_YUV_P.
Diffstat (limited to 'player/video.c')
0 files changed, 0 insertions, 0 deletions