[MPlayer-dev-eng] [PATCH]Fix subcp crash(hopefully)

陆然 hephooey at fastmail.fm
Tue Jan 14 17:14:19 CET 2003


Hi,
On Wednesday 15 January 2003 00:08, Salvador Eduardo Tropea wrote:

> Then we could do the iconv convertion to a temporal buffer and do the
> remove.
> This is need by other formats also.

But I don't think do iconv first is better, since it convert all the codepage 
to utf-8. Maybe the orignal codepage could be better for eliminate those {}s.

> Here are some examples, but you can hit similar things randomly.
> Dialogue: Marked=0,0:52:43.21,0:52:45.84,1 MENOS DE
> SOMBRA,NTP,0000,0000,0000,,{\fs36}El nombre de ese muchacho es...
> Dialogue:
> Marked=0,0:52:46.84,0:52:48.84,FANSUB,NTP,0000,0000,0000,,SUBTITULADO
> POR {\fnOrient\c&HFFFFFF&}ISAGARA FANSUB

So '{' is always followed by '\', we should find some document about these 
things.

> I don´t have the reference but \fs seems to be "Font Size", \fn "Font
> Name" and \c&....& "Color".


-- 
Best Regard,
LR




More information about the MPlayer-dev-eng mailing list