[vlc-devel] dynamicoverlay SetTextColor incorrectly sets color

Laurent Aimar fenrir at via.ecp.fr
Sat Jan 10 10:41:07 CET 2009


On Thu, Jan 08, 2009, Rémi Denis-Courmont wrote:
> Le mercredi 31 décembre 2008 04:53:47 Doug West, vous avez écrit :
> > The video filter dynamicoverlay function SetTextColor does not appear to
> > set the colors properly. However, if you edit the file
> > dynamicoverlay_commands.c, and change line 272 from:
> >
> > p_params->fontstyle.i_font_color = (r<<24) | (g<<16) | (b<<8);
> >
> > to:
> >
> > p_params->fontstyle.i_font_color = (r<<16) | (g<<8) | b;
> 
> Did anyone look at this????
 Looking at vlc_osd.h, it seeems he is right. I will commit it.

-- 
fenrir



More information about the vlc-devel mailing list