annotate subreader.h @ 1182:40ec53d0f207

freebsd fix
author arpi_esp
date Thu, 21 Jun 2001 22:28:50 +0000
parents 6b02113cd41a
children 18f4dd5d568f
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 );
616
41d6eec69b60 clean up
pontscho
parents: 509
diff changeset
28
818
16ba80b47ec4 Support for vplayer subtitles
eyck
parents: 624
diff changeset
29 #endif