[MPlayer-cvslog] CVS: main subreader.c,1.148,1.149

Reynaldo H. Verdejo CVS syncmail at mplayerhq.hu
Thu Apr 6 05:27:23 CEST 2006


CVS change done by Reynaldo H. Verdejo CVS

Update of /cvsroot/mplayer/main
In directory mail:/var2/tmp/cvs-serv22213

Modified Files:
	subreader.c 
Log Message:
Acording to manpage -dumpmicrodvdsub dumps to dumpsub.sub not dumpsub.txt

Index: subreader.c
===================================================================
RCS file: /cvsroot/mplayer/main/subreader.c,v
retrieving revision 1.148
retrieving revision 1.149
diff -u -r1.148 -r1.149
--- subreader.c	17 Mar 2006 23:38:46 -0000	1.148
+++ subreader.c	6 Apr 2006 03:27:20 -0000	1.149
@@ -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) {




More information about the MPlayer-cvslog mailing list