[MPlayer-cvslog] r26718 - trunk/input/input.c
    reimar 
    subversion at mplayerhq.hu
       
    Sat May 10 16:03:42 CEST 2008
    
    
  
Author: reimar
Date: Sat May 10 16:03:42 2008
New Revision: 26718
Log:
usec_sleep(0) is not the same as not sleeping at all.
Fixes massive slowdown on Windows.
Modified:
   trunk/input/input.c
Modified: trunk/input/input.c
==============================================================================
--- trunk/input/input.c	(original)
+++ trunk/input/input.c	Sat May 10 16:03:42 2008
@@ -1215,7 +1215,7 @@ static mp_cmd_t *read_events(int time, i
 	}
     }
 #else
-    if (!got_cmd)
+    if (!got_cmd && time)
 	usec_sleep(time * 1000);
 #endif
 
    
    
More information about the MPlayer-cvslog
mailing list