[Mplayer-cvslog] CVS: main mplayer.c,1.635,1.636

Alex Beregszaszi alex at mplayerhq.hu
Sat Dec 28 16:33:19 CET 2002


Update of /cvsroot/mplayer/main
In directory mail:/var/tmp.root/cvs-serv12648

Modified Files:
	mplayer.c 
Log Message:
fixed 2 10l-s

Index: mplayer.c
===================================================================
RCS file: /cvsroot/mplayer/main/mplayer.c,v
retrieving revision 1.635
retrieving revision 1.636
diff -u -r1.635 -r1.636
--- mplayer.c	28 Dec 2002 14:29:41 -0000	1.635
+++ mplayer.c	28 Dec 2002 15:33:14 -0000	1.636
@@ -2964,7 +2964,7 @@
 	  osd_show_vobsub_changed--;
       } else
       if (osd_show_sub_delay) {
-	  sprintf(osd_text_tmp, "Sub delay: %d ms %.10f", ROUND(sub_delay*1000));
+	  sprintf(osd_text_tmp, "Sub delay: %d ms", ROUND(sub_delay*1000));
 	  osd_show_sub_delay--;
       } else
       if (osd_show_sub_pos) {
@@ -2990,8 +2990,8 @@
           }
           if (percentage >= 0)
             sprintf(percentage_text, " (%d%%)", percentage);
-          else
-            sprintf(percentage_text, "");
+	  else
+	    percentage_text[0] = 0;
           if (osd_level == 3) 
             sprintf(osd_text_tmp,"%c %02d:%02d:%02d / %02d:%02d:%02d%s",osd_function,pts/3600,(pts/60)%60,pts%60,len/3600,(len/60)%60,len%60,percentage_text);
           else




More information about the MPlayer-cvslog mailing list