changeset 33:2c215d26f54e

call check_events() in pause loop
author arpi_esp
date Sat, 03 Mar 2001 21:48:49 +0000
parents 9e66f722790e
children f92d5c8d46ea
files mplayer.c
diffstat 1 files changed, 5 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/mplayer.c	Sat Mar 03 21:47:37 2001 +0000
+++ b/mplayer.c	Sat Mar 03 21:48:49 2001 +0000
@@ -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_PluginSound *pSound=NULL;
 #endif
 
+extern int vo_screenwidth;
 
 extern char* win32_codec_name;  // must be set before calling DrvOpen() !!!
 
@@ -1681,7 +1682,9 @@
 #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)