diff options
author | Alexandre Colucci <alexandre@elgato.com> | 2011-03-25 11:25:02 +0100 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2011-03-25 19:00:54 +0100 |
commit | 9743e909f113b2f7b09e4879871e3b8e66d32204 (patch) | |
tree | fc60e34b7162b7284076f0bc75d900f192d6cc31 /libavfilter/libmpcodecs/vf_yuvcsp.c | |
parent | 10a7831aa182d841cfabb8b578fd31e6fd334310 (diff) | |
download | ffmpeg-9743e909f113b2f7b09e4879871e3b8e66d32204.tar.gz |
Fix incorrect colors when decoding DVD subtitles
On DVD and HD-DVD colors are stored in the order YCrCb (and not YCbCr) as mentioned in the specifications:
see DVD Specifications for Read-Only Disc / Part 3, 4.3 Program Chain Information (7) PGC_SP_PLT
see DVD Specifications for High Definition Disc, 5.2 Navigation for Standard Content (11) PGC_SDSP_PLT
see DVD Specifications for High Definition Disc, 5.2 Navigation for Standard Content (12) PGC_HDSP_PLT
see DVD Specifications for High Definition Disc, 5.5 Presentation Data (4) SET_COLOR2
When decoding a DVD or HD-DVD subtitle, the colors were incorrectly set.
Diffstat (limited to 'libavfilter/libmpcodecs/vf_yuvcsp.c')
0 files changed, 0 insertions, 0 deletions