changeset 9464:a4e50ab9ac14

3x10l found by Dan Christiansen <danchr@daimi.au.dk>
author alex
date Wed, 19 Feb 2003 17:14:57 +0000
parents 93375ee56629
children 350b660ef93c
files mplayer.c
diffstat 1 files changed, 3 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/mplayer.c	Wed Feb 19 16:55:14 2003 +0000
+++ b/mplayer.c	Wed Feb 19 17:14:57 2003 +0000
@@ -1101,7 +1101,7 @@
       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(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 @@
 
           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;