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

Reynaldo H. Verdejo CVS syncmail at mplayerhq.hu
Sun Apr 23 06:33:13 CEST 2006


CVS change done by Reynaldo H. Verdejo CVS

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

Modified Files:
	subreader.c 
Log Message:
Part 4 of otvos attila's oattila AT chello-hu mp_msg changes, no modifications this time

Index: subreader.c
===================================================================
RCS file: /cvsroot/mplayer/main/subreader.c,v
retrieving revision 1.149
retrieving revision 1.150
diff -u -r1.149 -r1.150
--- subreader.c	6 Apr 2006 03:27:20 -0000	1.149
+++ subreader.c	23 Apr 2006 04:33:09 -0000	1.150
@@ -1916,7 +1916,7 @@
 		    if (!prio && tmp_sub_id)
 		    {
 			sprintf(tmpresult, "%s %s", f_fname_trim, tmp_sub_id);
-			printf("dvdsublang...%s\n", tmpresult);
+			mp_msg(MSGT_SUBREADER,MSGL_INFO,"dvdsublang...%s\n", tmpresult);
 			if (strcmp(tmp_fname_trim, tmpresult) == 0 && sub_match_fuzziness >= 1) {
 			    // matches the movie name + lang extension
 			    prio = 5;
@@ -2007,20 +2007,20 @@
 
     for(j=0; j < subd->sub_num; j++){
 	subtitle* egysub=&subs[j];
-        printf ("%i line%c (%li-%li)\n",
+        mp_msg(MSGT_SUBREADER,MSGL_INFO,"%i line%c (%li-%li)\n",
 		    egysub->lines,
 		    (1==egysub->lines)?' ':'s',
 		    egysub->start,
 		    egysub->end);
 	for (i=0; i<egysub->lines; i++) {
-	    printf ("\t\t%d: %s%s", i,egysub->text[i], i==egysub->lines-1?"":" \n ");
+	    mp_msg(MSGT_SUBREADER,MSGL_INFO,"\t\t%d: %s%s", i,egysub->text[i], i==egysub->lines-1?"":" \n ");
 	}
-	printf ("\n");
+	mp_msg(MSGT_SUBREADER,MSGL_INFO,"\n");
     }
 
-    printf ("Subtitle format %s time.\n", 
+    mp_msg(MSGT_SUBREADER,MSGL_INFO,"Subtitle format %s time.\n", 
                                   subd->sub_uses_time ? "uses":"doesn't use");
-    printf ("Read %i subtitles, %i errors.\n", subd->sub_num, subd->sub_errs);
+    mp_msg(MSGT_SUBREADER,MSGL_INFO,"Read %i subtitles, %i errors.\n", subd->sub_num, subd->sub_errs);
 }
 
 void dump_srt(sub_data* subd, float fps){




More information about the MPlayer-cvslog mailing list