diff options
author | alex <alex@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2003-02-19 17:14:57 +0000 |
---|---|---|
committer | alex <alex@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2003-02-19 17:14:57 +0000 |
commit | 33f8a3911f467e526463a16604eb2703ea5be658 (patch) | |
tree | de5885414ab4dc5942af6a4009b4fe6060580df1 /mplayer.c | |
parent | 33154a7188879cc98a43a05432c371a9265b7442 (diff) | |
download | mpv-33f8a3911f467e526463a16604eb2703ea5be658.tar.bz2 mpv-33f8a3911f467e526463a16604eb2703ea5be658.tar.xz |
3x10l found by Dan Christiansen <danchr@daimi.au.dk>
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@9465 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'mplayer.c')
-rw-r--r-- | mplayer.c | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -1101,7 +1101,7 @@ if(!use_stdin && !slave_mode){ while ( guiIntfStruct.Playing != 1 ) { mp_cmd_t* cmd; - usleep(20000); + usec_sleep(20000); guiEventHandling(); guiGetEvent( guiReDraw,NULL ); if ( (cmd = mp_input_get_cmd(0,0)) != NULL) guiGetEvent( guiIEvent,(char *)cmd->id ); @@ -2230,7 +2230,7 @@ if(auto_quality>0){ if(vf_menu) vf_menu_pause_update(vf_menu); #endif - usleep(20000); + usec_sleep(20000); } mp_cmd_free(cmd); osd_function=OSD_PLAY; @@ -2834,7 +2834,7 @@ if (stream->type==STREAMTYPE_DVDNAV && dvd_nav_still) printf( "######################################## DVDNAV Event: Still Frame: %d sec(s)\n", still_event->length ); while (dvdnav_stream_sleeping(dvdnav_priv)) { - usleep(1000); /* 1ms */ + usec_sleep(1000); /* 1ms */ } dvdnav_stream_sleep(dvdnav_priv,still_event->length); break; |