aboutsummaryrefslogtreecommitdiffhomepage
path: root/Gui/wm
diff options
context:
space:
mode:
authorGravatar arpi <arpi@b3059339-0415-0410-9bf9-f77b7e298cf2>2001-08-26 00:35:51 +0000
committerGravatar arpi <arpi@b3059339-0415-0410-9bf9-f77b7e298cf2>2001-08-26 00:35:51 +0000
commit53113c0a7e3b68aa8e6e8ec9664d6a3611ceb9c0 (patch)
treecc3051653e389a4d7dbb969c595182d9d5480cfd /Gui/wm
parent541720dbbf5a9380623003b1d6ae7a55649726f9 (diff)
removed delay debug printf, better 'active delay'
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@1702 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'Gui/wm')
-rw-r--r--Gui/wm/ws.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/Gui/wm/ws.c b/Gui/wm/ws.c
index a36476e79a..32d27687cf 100644
--- a/Gui/wm/ws.c
+++ b/Gui/wm/ws.c
@@ -645,13 +645,13 @@ while(wsTrue){
// handle pending events
while ( XPending(wsDisplay) ){
XNextEvent( wsDisplay,&wsEvent );
- printf("### X event: %d [%d]\n",wsEvent.type,delay);
+// printf("### X event: %d [%d]\n",wsEvent.type,delay);
wsEvents( wsDisplay,&wsEvent,NULL );
- delay=20;
+ delay=0;
}
mplTimerHandler(0); // handle timer event
usleep(delay*1000); // FIXME!
- if(delay<8*20) delay+=20; // pump up delay up to 0.16 sec (low activity)
+ if(delay<10*20) delay+=20; // pump up delay up to 0.2 sec (low activity)
}
#else