Mercurial > mplayer.hg
comparison mplayer.c @ 6792:0d08931fb3c3
Correct dump_srt millisecond output
Add support for input from frame based subtitles to dump_srt.
author | kmkaplan |
---|---|
date | Thu, 25 Jul 2002 18:05:08 +0000 |
parents | b16cb6cbff5a |
children | 9c828335b2d0 |
comparison
equal
deleted
inserted
replaced
6791:a3b2f80f3a26 | 6792:0d08931fb3c3 |
---|---|
1213 subtitles=sub_read_file( filename ? sub_filename( get_path("sub/"), filename ) | 1213 subtitles=sub_read_file( filename ? sub_filename( get_path("sub/"), filename ) |
1214 : "default.sub", sh_video->fps ); | 1214 : "default.sub", sh_video->fps ); |
1215 } | 1215 } |
1216 if(subtitles && stream_dump_type==3) list_sub_file(subtitles); | 1216 if(subtitles && stream_dump_type==3) list_sub_file(subtitles); |
1217 if(subtitles && stream_dump_type==4) dump_mpsub(subtitles, sh_video->fps); | 1217 if(subtitles && stream_dump_type==4) dump_mpsub(subtitles, sh_video->fps); |
1218 if(subtitles && stream_dump_type==6) dump_srt(subtitles); | 1218 if(subtitles && stream_dump_type==6) dump_srt(subtitles, sh_video->fps); |
1219 } | 1219 } |
1220 #endif | 1220 #endif |
1221 | 1221 |
1222 //================== Init AUDIO (codec) ========================== | 1222 //================== Init AUDIO (codec) ========================== |
1223 current_module="find_audio_codec"; | 1223 current_module="find_audio_codec"; |