[Mplayer-cvslog] CVS: main vobsub.c,1.15,1.16

Arpi arpi at thot.banki.hu
Sat Mar 21 18:16:05 CET 2009


Hi,

> On Sunday 28 July 2002 14:21, Kim Minh Kaplan wrote:
> > Atmosfear writes:
> > > -	    fprintf(me->fidx, " %06x", palette[i] & 0x00ffffff);
> > > +	    fprintf(me->fidx, " %02x%02x%02x", palette[i]>>16 & 0x000000ff,
> > > +		palette[i]>>16 & 0x000000ff, palette[i]>>16 & 0x000000ff);
> >
> > What is that?  You are replicating the Y part in the U & V...  This
> > can't be correct.
> Before mplayer vobsub looked like 108080, 808080, eb8080, ... and Windows 
> vobsub of the same dvd looked like 101010, 808080, ebebeb, ... so maybe 
> windows vobsub is buggy, but to be compatible we need to do this, otherwise 
> winvobsub displays bad colours.

afaik vobsub has colors in RGB instead of YUV
so YYY looks better, it's the same as RGB but in greyscale...


A'rpi / Astral & ESP-team

--
Developer of MPlayer, the Movie Player for Linux - http://www.MPlayerHQ.hu




More information about the MPlayer-cvslog mailing list