summaryrefslogtreecommitdiffstats
path: root/mplayer.c
diff options
context:
space:
mode:
authorarpi_esp <arpi_esp@b3059339-0415-0410-9bf9-f77b7e298cf2>2001-03-03 21:48:49 +0000
committerarpi_esp <arpi_esp@b3059339-0415-0410-9bf9-f77b7e298cf2>2001-03-03 21:48:49 +0000
commit64f09dddd420315e72430429f9a1435c9597f6ac (patch)
tree142e8b33cfa1bf08d520f93c90b43fd2ca7c4d05 /mplayer.c
parent455c50076cd6f9c77b296b49258837dad8ab69ed (diff)
downloadmpv-64f09dddd420315e72430429f9a1435c9597f6ac.tar.bz2
mpv-64f09dddd420315e72430429f9a1435c9597f6ac.tar.xz
call check_events() in pause loop
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@34 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'mplayer.c')
-rw-r--r--mplayer.c7
1 files changed, 5 insertions, 2 deletions
diff --git a/mplayer.c b/mplayer.c
index 7c45cd5c37..b609df508d 100644
--- a/mplayer.c
+++ b/mplayer.c
@@ -37,7 +37,7 @@
#include "loader.h"
#include "wine/avifmt.h"
-//#include "libvo/video_out.h" // included from mpeg2.h
+//#include "libvo/x11_common.h" // included from mpeg2.h
#include "opendivx/decore.h"
@@ -49,6 +49,7 @@ XMM xmm;
XMM_PluginSound *pSound=NULL;
#endif
+extern int vo_screenwidth;
extern char* win32_codec_name; // must be set before calling DrvOpen() !!!
@@ -1681,7 +1682,9 @@ switch(has_video){
#ifdef HAVE_LIRC
lirc_mp_getinput()<=0 &&
#endif
- getch2(20)<=0 && mplayer_get_key()<=0){}
+ getch2(20)<=0 && mplayer_get_key()<=0){
+ video_out->check_events();
+ }
break;
}
if(rel_seek_secs)