Mercurial > mplayer.hg
view TVout/matroxset/swapped @ 8601:7fe391d6c293
The following patch adds two new command line options:
-sub-bkg-color n
-sub-bkg-alpha n
They control the color and alpha value used to initialize the subtitles and OSD BBOX.
With this you can have subtitles inside a traslucent rectangle.
This is useful when a movie already have "hardcoded" subtitles and you
want to overwrite them with rendered subtitles avoiding too much confusion.
patch by Salvador Eduardo Tropea <salvador@inti.gov.ar>
author | arpi |
---|---|
date | Sat, 28 Dec 2002 13:41:02 +0000 |
parents | 3b5f5d1c5041 |
children |
line wrap: on
line source
#! /bin/sh if [ -c /dev/fb0 ]; then HEAD0=/dev/fb0 HEAD1=/dev/fb1 else HEAD0=/dev/fb/0 HEAD1=/dev/fb/1 fi matroxset -f ${HEAD1} -m 0 matroxset -f ${HEAD0} -m 2 matroxset -f ${HEAD1} -m 1