Mercurial > mplayer.hg
annotate subreader.h @ 491:2313c6ea006f
YV12 is working again
author | arpi_esp |
---|---|
date | Tue, 17 Apr 2001 21:00:46 +0000 |
parents | 66017e126280 |
children | 1b2cd175236f |
rev | line source |
---|---|
258 | 1 |
2 extern int sub_uses_time; | |
3 extern int sub_errs; | |
4 extern int sub_num; // number of subtitle structs | |
5 extern int sub_format; // 0 for microdvd, 1 for SubRip, 2 for the third format | |
6 | |
7 #define SUB_MAX_TEXT 5 | |
8 | |
9 typedef struct { | |
10 | |
11 int lines; | |
12 | |
13 unsigned long start; | |
14 unsigned long end; | |
15 | |
16 char *text[SUB_MAX_TEXT]; | |
17 } subtitle; | |
18 | |
19 subtitle* sub_read_file (char *filename); |