summaryrefslogtreecommitdiffstats
path: root/mplayer.c
diff options
context:
space:
mode:
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)