[MPlayer-dev-eng] [PATCH] SSA subtitles extra comma and modifiers filter

Salvador Eduardo Tropea salvador at inti.gov.ar
Fri Dec 27 16:44:47 CET 2002


Hi All!

Attached is a small patch to fix a couple of problems I found when using 
.SSA subtitle files:
1) A comma appears at the beggining of the text. From comments on the 
code this seems to be a delicated matter, so I just added a conditional 
to eliminate the comma if it is at the beggining of the string.
2) It looks like this format uses {*} for attributes, like {/fs36} to 
select "font size 36pt". These things becomes really annoying when 
displayed with the real text ;-), so I added a simple filter to collapse 
all the text enclosed with { and }.

I can send example files where these two filters are needed.

SET

-- 
Salvador Eduardo Tropea (SET). (Electronics Engineer)
Visit my home page: http://welcome.to/SetSoft or
http://www.geocities.com/SiliconValley/Vista/6552/
Alternative e-mail: set at computer.org set at ieee.org 
Address: Curapaligue 2124, Caseros, 3 de Febrero
Buenos Aires, (1678), ARGENTINA Phone: +(5411) 4759 0013


-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: subreader.patch
URL: <http://lists.mplayerhq.hu/pipermail/mplayer-dev-eng/attachments/20021227/9d1f81ce/attachment.asc>


More information about the MPlayer-dev-eng mailing list