summaryrefslogtreecommitdiffstats
path: root/mplayer.c
diff options
context:
space:
mode:
authorpontscho <pontscho@b3059339-0415-0410-9bf9-f77b7e298cf2>2001-08-31 14:16:28 +0000
committerpontscho <pontscho@b3059339-0415-0410-9bf9-f77b7e298cf2>2001-08-31 14:16:28 +0000
commit25c699c572d5024bcc95ae499a0f4509f1cab78f (patch)
tree9d1d0ecebcd9e1444933f10336dc4773f36bae6b /mplayer.c
parenta2023e8ff40f076748a7af1a0e1388466a0ae0c1 (diff)
downloadmpv-25c699c572d5024bcc95ae499a0f4509f1cab78f.tar.bz2
mpv-25c699c572d5024bcc95ae499a0f4509f1cab78f.tar.xz
async reply fix ?
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@1803 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'mplayer.c')
-rw-r--r--mplayer.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/mplayer.c b/mplayer.c
index 4d665248bd..c27ede2040 100644
--- a/mplayer.c
+++ b/mplayer.c
@@ -583,7 +583,7 @@ play_next_file:
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 @@ if(1)
}
#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 @@ if(1)
#ifdef HAVE_NEW_GUI
if(use_gui){
- wsHandleEvents();mplTimerHandler(0); // handle GUI timer events
+ EventHandling();
}
#endif
@@ -1341,7 +1341,7 @@ if(1)
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 @@ if(auto_quality>0){
#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