Mercurial > mplayer.hg
view libmpdemux/mf.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 | 8780415baa87 |
children | 27fff718ede6 |
line wrap: on
line source
#ifndef _MF_H #define _MF_H extern int mf_support; extern int mf_w; extern int mf_h; extern float mf_fps; extern char * mf_type; typedef struct { int curr_frame; int nr_of_files; char ** names; } mf_t; mf_t* open_mf(char * filename); #endif