comparison subreader.h @ 4064:3c747168eb6e

1. subs know are readed after reading AVI header so we already know fps 2. modified vplayer format reader - default time is ~6 sec - maybe that should be an option
author atlka
date Wed, 09 Jan 2002 16:35:24 +0000
parents e8ca83c5d013
children 89c87be7a248
comparison
equal deleted inserted replaced
4063:5a1558a521fb 4064:3c747168eb6e
1
2 #ifndef __MPLAYER_SUBREADER_H 1 #ifndef __MPLAYER_SUBREADER_H
3 #define __MPLAYER_SUBREADER_H 2 #define __MPLAYER_SUBREADER_H
4 3
5 extern int sub_uses_time; 4 extern int sub_uses_time;
6 extern int sub_errs; 5 extern int sub_errs;
32 unsigned long end; 31 unsigned long end;
33 32
34 char *text[SUB_MAX_TEXT]; 33 char *text[SUB_MAX_TEXT];
35 } subtitle; 34 } subtitle;
36 35
37 subtitle* sub_read_file (char *filename); 36 subtitle* sub_read_file (char *filename, float pts);
38 char * sub_filename(char *path, char * fname ); 37 char * sub_filename(char *path, char * fname);
39 void list_sub_file(subtitle* subs); 38 void list_sub_file(subtitle* subs);
40 void dump_mpsub(subtitle* subs); 39 void dump_mpsub(subtitle* subs, float fps);
41 void sub_free( subtitle * subs ); 40 void sub_free( subtitle * subs );
42 41 void find_sub(subtitle* subtitles,int key);
43 #endif 42 #endif