Acording to manpage -dumpmicrodvdsub dumps to dumpsub.sub not dumpsub.txt

git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@18046 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
reynaldo 2006-04-06 03:27:20 +00:00
parent ecdfed5122
commit 7882100299
1 changed files with 3 additions and 3 deletions

View File

@ -2127,9 +2127,9 @@ void dump_microdvd(sub_data* subd, float fps) {
subtitle *subs = subd->subtitles;
if (sub_fps == 0)
sub_fps = fps;
fd = fopen("dumpsub.txt", "w");
fd = fopen("dumpsub.sub", "w");
if (!fd) {
perror("dumpsub.txt: fopen");
perror("dumpsub.sub: fopen");
return;
}
delay = sub_delay * sub_fps;
@ -2153,7 +2153,7 @@ void dump_microdvd(sub_data* subd, float fps) {
fprintf(fd, "\n");
}
fclose(fd);
mp_msg(MSGT_SUBREADER,MSGL_INFO,"SUB: Subtitles dumped in \'dumpsub.txt\'.\n");
mp_msg(MSGT_SUBREADER,MSGL_INFO,"SUB: Subtitles dumped in \'dumpsub.sub\'.\n");
}
void dump_jacosub(sub_data* subd, float fps) {