Mercurial > mplayer.hg
changeset 18045:452996e2628c
Acording to manpage -dumpmicrodvdsub dumps to dumpsub.sub not dumpsub.txt
author | reynaldo |
---|---|
date | Thu, 06 Apr 2006 03:27:20 +0000 |
parents | b693d92e6210 |
children | a0ab6fed1d14 |
files | subreader.c |
diffstat | 1 files changed, 3 insertions(+), 3 deletions(-) [+] |
line wrap: on
line diff
--- a/subreader.c Wed Apr 05 20:51:35 2006 +0000 +++ b/subreader.c Thu Apr 06 03:27:20 2006 +0000 @@ -2127,9 +2127,9 @@ 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 @@ 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) {