summaryrefslogtreecommitdiffstats
path: root/mplayer.c
diff options
context:
space:
mode:
authorwight <wight@b3059339-0415-0410-9bf9-f77b7e298cf2>2004-08-04 15:48:43 +0000
committerwight <wight@b3059339-0415-0410-9bf9-f77b7e298cf2>2004-08-04 15:48:43 +0000
commite68d7f68588a02bacba0b0cbdb72719c2101a40b (patch)
tree7d9c2827dd588f35b349a011633353819c948acd /mplayer.c
parent37e68033df4a76d098b18b06f1ca87cdcdf1c978 (diff)
downloadmpv-e68d7f68588a02bacba0b0cbdb72719c2101a40b.tar.bz2
mpv-e68d7f68588a02bacba0b0cbdb72719c2101a40b.tar.xz
Native darwin timer update.
Patch by Dan Christiansen <danchr@daimi.au.dk> git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@12955 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'mplayer.c')
-rw-r--r--mplayer.c7
1 files changed, 4 insertions, 3 deletions
diff --git a/mplayer.c b/mplayer.c
index f1dcc62507..c28933608a 100644
--- a/mplayer.c
+++ b/mplayer.c
@@ -1127,7 +1127,8 @@ if(!codecs_file || !parse_codec_cfg(codecs_file)){
#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 @@ if(time_frame>0.001 && !(vo_flags&256)){
} 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)!