From 33f8a3911f467e526463a16604eb2703ea5be658 Mon Sep 17 00:00:00 2001 From: alex Date: Wed, 19 Feb 2003 17:14:57 +0000 Subject: [PATCH] 3x10l found by Dan Christiansen git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@9465 b3059339-0415-0410-9bf9-f77b7e298cf2 --- mplayer.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/mplayer.c b/mplayer.c index ed537e6359..dc0b105552 100644 --- a/mplayer.c +++ b/mplayer.c @@ -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;