annotate subreader.h @ 888:c7561094bc2c

*** empty log message ***
author gabucino
date Sat, 26 May 2001 23:03:28 +0000
parents 16ba80b47ec4
children bad858a47870
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
258
66017e126280 subtitles (.sub files) support
arpi_esp
parents:
diff changeset
13
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);
509
1b2cd175236f add sub autodetect
pontscho
parents: 258
diff changeset
27 char * sub_filename( char * fname );
616
41d6eec69b60 clean up
pontscho
parents: 509
diff changeset
28
818
16ba80b47ec4 Support for vplayer subtitles
eyck
parents: 624
diff changeset
29 #endif