[MPlayer-dev-eng] [PATCH] subtitle justify ( left - center - right )

Jean-Marc Orliaguet jmo at ckk.chalmers.se
Sun Feb 9 13:39:13 CET 2003


Here is a small patch against Mplayer RC3 that adds a -subjustify option 
to mplayer in order to align OSD subtitles to the left ( -subjustify 0 
), center ( -subjustify 1 )  (default) and to the right ( -subjustify 2 
). Some TV channels show left-justified subtitles and it can make it 
easier to read sometimes.

it uses the  -subwidth value to determine the size of the left or right 
margins. There could be another option for that but I wanted to make it 
simple.

ex:

% mplayer  ...  -subwidth 90 -subjustify 0        
  


-- 
Jean-Marc Orliaguet ( jmo at ckk.chalmers.se )
- http://www.ckk.chalmers.se/people/jmo/ 



-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: justify.diff
URL: <http://lists.mplayerhq.hu/pipermail/mplayer-dev-eng/attachments/20030209/89f0eaf3/attachment.txt>


More information about the MPlayer-dev-eng mailing list