Mercurial > mplayer.hg
diff 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 |
line wrap: on
line diff
--- a/subreader.h Wed Jan 09 16:20:41 2002 +0000 +++ b/subreader.h Wed Jan 09 16:35:24 2002 +0000 @@ -1,4 +1,3 @@ - #ifndef __MPLAYER_SUBREADER_H #define __MPLAYER_SUBREADER_H @@ -34,10 +33,10 @@ char *text[SUB_MAX_TEXT]; } subtitle; -subtitle* sub_read_file (char *filename); -char * sub_filename(char *path, char * fname ); +subtitle* sub_read_file (char *filename, float pts); +char * sub_filename(char *path, char * fname); void list_sub_file(subtitle* subs); -void dump_mpsub(subtitle* subs); +void dump_mpsub(subtitle* subs, float fps); void sub_free( subtitle * subs ); - +void find_sub(subtitle* subtitles,int key); #endif