[Mplayer-cvslog] CVS: main mplayer.c,1.681,1.682

Alex Beregszaszi alex at mplayerhq.hu
Wed Feb 19 18:15:14 CET 2003


Update of /cvsroot/mplayer/main
In directory mail:/var/tmp.root/cvs-serv23104

Modified Files:
	mplayer.c 
Log Message:
3x10l found by Dan Christiansen <danchr at daimi.au.dk>

Index: mplayer.c
===================================================================
RCS file: /cvsroot/mplayer/main/mplayer.c,v
retrieving revision 1.681
retrieving revision 1.682
diff -u -r1.681 -r1.682
--- mplayer.c	9 Feb 2003 20:18:11 -0000	1.681
+++ mplayer.c	19 Feb 2003 17:14:57 -0000	1.682
@@ -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;



More information about the MPlayer-cvslog mailing list