[Mplayer-cvslog] CVS: main mplayer.c,1.293,1.294

Arpi of Ize arpi at mplayer.dev.hu
Fri Oct 19 02:16:03 CEST 2001


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

Modified Files:
	mplayer.c 
Log Message:
sleep stuff moved to linux/timer

Index: mplayer.c
===================================================================
RCS file: /cvsroot/mplayer/main/mplayer.c,v
retrieving revision 1.293
retrieving revision 1.294
diff -u -r1.293 -r1.294
--- mplayer.c	14 Oct 2001 17:29:22 -0000	1.293
+++ mplayer.c	19 Oct 2001 00:15:49 -0000	1.294
@@ -84,19 +84,6 @@
 void find_sub(subtitle* subtitles,int key);
 #endif
 
-static int
-usec_sleep(int usec_delay)
-{
-#if	1
-    struct timespec ts;
-    ts.tv_sec  =  usec_delay / 1000000;
-    ts.tv_nsec = (usec_delay % 1000000) * 1000;
-    return nanosleep(&ts, NULL);
-#else
-    return usleep(usec_delay);
-#endif
-}
-
 //**************************************************************************//
 //             Config file
 //**************************************************************************//




More information about the MPlayer-cvslog mailing list