Mercurial > mplayer.hg
view edl.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 | 1aa2c9b460af |
children | 41a21058e658 |
line wrap: on
line source
// EDL version 0.5 // Author: Michael Halcrow <mhalcrow@byu.edu> #ifndef EDLH #define EDLH #define EDL_SKIP 0 #define EDL_MUTE 1 #define MAX_EDL_ENTRIES 1000 struct edl_record { float start_sec; long start_frame; float stop_sec; long stop_frame; float length_sec; long length_frame; short action; struct edl_record* next; }; typedef struct edl_record* edl_record_ptr; #endif