1
0
mirror of https://github.com/mpv-player/mpv synced 2025-02-08 16:07:16 +00:00

call check_events() in pause loop

git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@34 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
arpi_esp 2001-03-03 21:48:49 +00:00
parent 455c50076c
commit 64f09dddd4

View File

@ -37,7 +37,7 @@
#include "loader.h" #include "loader.h"
#include "wine/avifmt.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" #include "opendivx/decore.h"
@ -49,6 +49,7 @@ XMM xmm;
XMM_PluginSound *pSound=NULL; XMM_PluginSound *pSound=NULL;
#endif #endif
extern int vo_screenwidth;
extern char* win32_codec_name; // must be set before calling DrvOpen() !!! extern char* win32_codec_name; // must be set before calling DrvOpen() !!!
@ -1681,7 +1682,9 @@ switch(has_video){
#ifdef HAVE_LIRC #ifdef HAVE_LIRC
lirc_mp_getinput()<=0 && lirc_mp_getinput()<=0 &&
#endif #endif
getch2(20)<=0 && mplayer_get_key()<=0){} getch2(20)<=0 && mplayer_get_key()<=0){
video_out->check_events();
}
break; break;
} }
if(rel_seek_secs) if(rel_seek_secs)