[Mplayer-cvslog] CVS: main mplayer.c,1.765,1.766

Torinthiel CVS syncmail at mplayerhq.hu
Wed Aug 4 17:48:45 CEST 2004


CVS change done by Torinthiel CVS

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

Modified Files:
	mplayer.c 
Log Message:
Native darwin timer update.
Patch by Dan Christiansen <danchr at daimi.au.dk>


Index: mplayer.c
===================================================================
RCS file: /cvsroot/mplayer/main/mplayer.c,v
retrieving revision 1.765
retrieving revision 1.766
diff -u -r1.765 -r1.766
--- mplayer.c	25 Jul 2004 00:33:32 -0000	1.765
+++ mplayer.c	4 Aug 2004 15:48:42 -0000	1.766
@@ -1127,7 +1127,8 @@
 #endif
     if(rtc_fd<0)
 #endif
-    mp_msg(MSGT_CPLAYER, MSGL_INFO, "Using %s timing\n",softsleep?"software":"usleep()");
+      mp_msg(MSGT_CPLAYER, MSGL_INFO, "Using %s timing\n",
+	     softsleep?"software":timer_name);
 
 #ifdef USE_TERMCAP
   if ( !use_gui ) load_termcap(NULL); // load key-codes
@@ -2232,9 +2233,9 @@
     } else
 #endif
     {
-	// -------- USLEEP + SOFTSLEEP -----------
+	// -------- TIMER + SOFTSLEEP -----------
 	float min=softsleep?0.021:0.005;
-	current_module="sleep_usleep";
+	current_module="sleep_timer";
         while(time_frame>min){
           if(time_frame<=0.020)
              usec_sleep(0); // sleeps 1 clock tick (10ms)!




More information about the MPlayer-cvslog mailing list