Mercurial > mplayer.hg
changeset 1701:7955814db4c7
removed delay debug printf, better 'active delay'
author | arpi |
---|---|
date | Sun, 26 Aug 2001 00:35:51 +0000 |
parents | a0f28ba7c34a |
children | 315be3fa9daf |
files | Gui/wm/ws.c |
diffstat | 1 files changed, 3 insertions(+), 3 deletions(-) [+] |
line wrap: on
line diff
--- a/Gui/wm/ws.c Sun Aug 26 00:28:56 2001 +0000 +++ b/Gui/wm/ws.c Sun Aug 26 00:35:51 2001 +0000 @@ -645,13 +645,13 @@ // 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