annotate subreader.h @ 2135:fcf5bd49c68f

Better DFP support
author nick
date Mon, 08 Oct 2001 09:23:33 +0000
parents 18f4dd5d568f
children 2f04b5f9a615
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
616
41d6eec69b60 clean up
pontscho
parents: 509
diff changeset
1
41d6eec69b60 clean up
pontscho
parents: 509
diff changeset
2 #ifndef __MPLAYER_SUBREADER_H
41d6eec69b60 clean up
pontscho
parents: 509
diff changeset
3 #define __MPLAYER_SUBREADER_H
258
66017e126280 subtitles (.sub files) support
arpi_esp
parents:
diff changeset
4
66017e126280 subtitles (.sub files) support
arpi_esp
parents:
diff changeset
5 extern int sub_uses_time;
66017e126280 subtitles (.sub files) support
arpi_esp
parents:
diff changeset
6 extern int sub_errs;
66017e126280 subtitles (.sub files) support
arpi_esp
parents:
diff changeset
7 extern int sub_num; // number of subtitle structs
624
44b764d348a0 added support for SAMI subtitle support (.smi)
laaz
parents: 616
diff changeset
8 extern int sub_format; // 0 for microdvd
44b764d348a0 added support for SAMI subtitle support (.smi)
laaz
parents: 616
diff changeset
9 // 1 for SubRip
44b764d348a0 added support for SAMI subtitle support (.smi)
laaz
parents: 616
diff changeset
10 // 2 for the third format
44b764d348a0 added support for SAMI subtitle support (.smi)
laaz
parents: 616
diff changeset
11 // 3 for SAMI (smi)
818
16ba80b47ec4 Support for vplayer subtitles
eyck
parents: 624
diff changeset
12 // 4 for vplayer format
921
6b02113cd41a Added support for .ssa subtitles
laaz
parents: 892
diff changeset
13 // other stuff in subreader.c
258
66017e126280 subtitles (.sub files) support
arpi_esp
parents:
diff changeset
14 #define SUB_MAX_TEXT 5
66017e126280 subtitles (.sub files) support
arpi_esp
parents:
diff changeset
15
66017e126280 subtitles (.sub files) support
arpi_esp
parents:
diff changeset
16 typedef struct {
66017e126280 subtitles (.sub files) support
arpi_esp
parents:
diff changeset
17
66017e126280 subtitles (.sub files) support
arpi_esp
parents:
diff changeset
18 int lines;
66017e126280 subtitles (.sub files) support
arpi_esp
parents:
diff changeset
19
66017e126280 subtitles (.sub files) support
arpi_esp
parents:
diff changeset
20 unsigned long start;
66017e126280 subtitles (.sub files) support
arpi_esp
parents:
diff changeset
21 unsigned long end;
66017e126280 subtitles (.sub files) support
arpi_esp
parents:
diff changeset
22
66017e126280 subtitles (.sub files) support
arpi_esp
parents:
diff changeset
23 char *text[SUB_MAX_TEXT];
66017e126280 subtitles (.sub files) support
arpi_esp
parents:
diff changeset
24 } subtitle;
66017e126280 subtitles (.sub files) support
arpi_esp
parents:
diff changeset
25
66017e126280 subtitles (.sub files) support
arpi_esp
parents:
diff changeset
26 subtitle* sub_read_file (char *filename);
892
bad858a47870 implemented ~/.mplayer/sub/filename.sub stuff
arpi_esp
parents: 818
diff changeset
27 char * sub_filename(char *path, char * fname );
2050
18f4dd5d568f -Wall warnings fixed
arpi
parents: 921
diff changeset
28 void list_sub_file(subtitle* subs);
616
41d6eec69b60 clean up
pontscho
parents: 509
diff changeset
29
818
16ba80b47ec4 Support for vplayer subtitles
eyck
parents: 624
diff changeset
30 #endif