diff mplayer.c @ 1802:82e77faa7341

async reply fix ?
author pontscho
date Fri, 31 Aug 2001 14:16:28 +0000
parents d1aabeb7274f
children 8e0b52f2c215
line wrap: on
line diff
--- a/mplayer.c	Fri Aug 31 13:05:37 2001 +0000
+++ b/mplayer.c	Fri Aug 31 14:16:28 2001 +0000
@@ -583,7 +583,7 @@
       mplShMem->Playing= (gui_no_filename) ? 0 : 1;
       while(mplShMem->Playing!=1){
 	usleep(20000);
-	wsHandleEvents();mplTimerHandler(0); // handle GUI timer events
+	EventHandling();
       }
       if(gui_no_filename){
         filename=mplShMem->Filename;
@@ -1291,7 +1291,7 @@
       }
 #ifdef HAVE_NEW_GUI
       if(use_gui){
-        wsHandleEvents();mplTimerHandler(0); // handle GUI timer events
+	EventHandling();
       }
 #endif
       video_out->check_events(); // check events AST
@@ -1329,7 +1329,7 @@
 
 #ifdef HAVE_NEW_GUI
       if(use_gui){
-        wsHandleEvents();mplTimerHandler(0); // handle GUI timer events
+	EventHandling();
       }
 #endif
       
@@ -1341,7 +1341,7 @@
              usec_sleep(1000000*(time_frame-0.002));
 #ifdef HAVE_NEW_GUI
           if(use_gui){
-	    wsHandleEvents();mplTimerHandler(0); // handle GUI timer events
+            EventHandling();
           }
 #endif
           time_frame-=GetRelativeTime();
@@ -1512,7 +1512,7 @@
 #endif
 #ifdef HAVE_NEW_GUI
              if(use_gui){
-		wsHandleEvents();mplTimerHandler(0); // handle GUI timer events
+		EventHandling();
 		if(mplShMem->Playing!=2 || (rel_seek_secs || abs_seek_pos)) break; // end of pause or seek
              }
 #endif