diff options
author | wight <wight@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2004-08-04 15:48:43 +0000 |
---|---|---|
committer | wight <wight@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2004-08-04 15:48:43 +0000 |
commit | e68d7f68588a02bacba0b0cbdb72719c2101a40b (patch) | |
tree | 7d9c2827dd588f35b349a011633353819c948acd /mplayer.c | |
parent | 37e68033df4a76d098b18b06f1ca87cdcdf1c978 (diff) | |
download | mpv-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.c | 7 |
1 files changed, 4 insertions, 3 deletions
@@ -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)! |