[Mplayer-cvslog] CVS: main/Gui/wm ws.c,1.2,1.3

Arpi of Ize arpi at mplayer.dev.hu
Sun Aug 26 02:35:54 CEST 2001


Update of /cvsroot/mplayer/main/Gui/wm
In directory mplayer:/var/tmp.root/cvs-serv27525

Modified Files:
	ws.c 
Log Message:
removed delay debug printf, better 'active delay'

Index: ws.c
===================================================================
RCS file: /cvsroot/mplayer/main/Gui/wm/ws.c,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -r1.2 -r1.3
--- ws.c	25 Aug 2001 23:18:17 -0000	1.2
+++ ws.c	26 Aug 2001 00:35:51 -0000	1.3
@@ -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




More information about the MPlayer-cvslog mailing list