[MPlayer-dev-eng] [PATCH] vobsub custom colors rgb->yuv fix.

Ulion ulion2002 at gmail.com
Sun Dec 2 04:07:15 CET 2007


Hello,

the custom colors in .idx file, is same with palette in .idx, all in
rgb format, spudec all use them as yuv format, and in vobsub.c,
palette has rgb->yuv convert code, but custom palette was not
converted.
Although spudec only use the 'y' part of palette, this bug will still
make spudec use wrong 'y' value of custom palette. Here's the fix, if
there are no objections, I will commit it tomorrow.

-- 
Ulion
-------------- next part --------------
A non-text attachment was scrubbed...
Name: vobsub_cuspal_yuv.diff
Type: text/x-diff
Size: 873 bytes
Desc: not available
URL: <http://lists.mplayerhq.hu/pipermail/mplayer-dev-eng/attachments/20071202/b93c552a/attachment.diff>


More information about the MPlayer-dev-eng mailing list