[Mplayer-cvslog] CVS: main mplayer.c,1.765,1.766
Torinthiel CVS
syncmail at mplayerhq.hu
Wed Aug 4 17:48:45 CEST 2004
- Previous message: [Mplayer-cvslog] CVS: main AUTHORS,1.99,1.100
- Next message: [Mplayer-cvslog] CVS: main/osdep timer-darwin.c, 1.3, 1.4 timer-lx.c, 1.7, 1.8 timer-win2.c, 1.2, 1.3 timer.h, 1.5, 1.6
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
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)!
- Previous message: [Mplayer-cvslog] CVS: main AUTHORS,1.99,1.100
- Next message: [Mplayer-cvslog] CVS: main/osdep timer-darwin.c, 1.3, 1.4 timer-lx.c, 1.7, 1.8 timer-win2.c, 1.2, 1.3 timer.h, 1.5, 1.6
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
More information about the MPlayer-cvslog
mailing list