# HG changeset patch # User reynaldo # Date 1144294040 0 # Node ID 452996e2628c03366899fdf1b4246e2f6d042c43 # Parent b693d92e621008056308a90db3ebbd1f8300522f Acording to manpage -dumpmicrodvdsub dumps to dumpsub.sub not dumpsub.txt diff -r b693d92e6210 -r 452996e2628c subreader.c --- 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) {