summaryrefslogtreecommitdiff
path: root/libavcodec/pgssubdec.c
diff options
context:
space:
mode:
authorAlexandre Colucci <alexandre@elgato.com>2011-03-25 11:25:02 +0100
committerAnton Khirnov <anton@khirnov.net>2011-05-24 19:10:28 +0200
commit676eaf84335fa91ee6a699fc03207762b8a7d6ae (patch)
treef1cc0d1b42009ab687e7528bde9da1efeba6c3df /libavcodec/pgssubdec.c
parentab088f7d2842b9c658a8906062a96be37fbc9981 (diff)
dvdsubdec: fix incorrect colors.
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. Signed-off-by: Anton Khirnov <anton@khirnov.net>
Diffstat (limited to 'libavcodec/pgssubdec.c')
0 files changed, 0 insertions, 0 deletions