Mercurial > mplayer.hg
view libao2/audio_plugin_internal.h @ 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 | bb1d608c73ae |
children | 12b1790038b0 |
line wrap: on
line source
// prototypes: static int control(int cmd,int arg); static int init(); static void uninit(); static void reset(); static int play(); #define LIBAO_PLUGIN_EXTERN(x) ao_plugin_functions_t audio_plugin_##x =\ {\ &info,\ control,\ init,\ uninit,\ reset,\ play,\ };