[MPlayer-dev-eng] how to change subtitles color?

İsmail Dönmez ismail at pardus.org.tr
Tue Aug 29 20:10:04 CEST 2006


Salı 29 Ağustos 2006 17:24 tarihinde, Evgeniy Stepanov şunları yazmıştı: 
> On Tuesday 29 August 2006 18:12, İsmail Dönmez wrote:
> > Ok it crashes at ass_mp.c line 51 :
> >
> > Breakpoint 2, ass_read_subdata (subdata=0x88302c0, fps=23.97599983215332)
> > at ass_mp.c:51
> > 51              style->FontName = font_fontconfig ? strdup(font_name) :
> > strdup("Tahoma");
> > (gdb) print font_fontconfig
> > $1 = 1
> > (gdb) print font_name
> > $2 = 0x0
> >
> > font_name is NULL hence it crashes.
>
> Yeah, I missed that. Are there still any problems with the attached patch ?

Works like a charm, colored subtitles rock :-)

> Btw, what is the reason of using -fontconfig without -font ?

It just picks a font from available fonts which in my case one of windows TTF 
fonts that is good enough :-)

Regards,
ismail

-- 
日本のanimeは揺れる 



More information about the MPlayer-dev-eng mailing list