[Mplayer-cvslog] CVS: 0_90 mplayer.c,1.680,1.681
Arpi of Ize
arpi at mplayerhq.hu
Mon Mar 10 15:02:21 CET 2003
Update of /cvsroot/mplayer/0_90
In directory mail:/var/tmp.root/cvs-serv22401
Modified Files:
mplayer.c
Log Message:
backport: usleep->usec_sleep
Index: mplayer.c
===================================================================
RCS file: /cvsroot/mplayer/0_90/mplayer.c,v
retrieving revision 1.680
retrieving revision 1.681
diff -u -r1.680 -r1.681
--- mplayer.c 9 Feb 2003 13:17:12 -0000 1.680
+++ mplayer.c 10 Mar 2003 14:02:18 -0000 1.681
@@ -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