diff options
author | pontscho <pontscho@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2001-08-30 19:44:08 +0000 |
---|---|---|
committer | pontscho <pontscho@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2001-08-30 19:44:08 +0000 |
commit | d6f7221fd8dce48013e6c037c6fc71f1cd87fc5a (patch) | |
tree | 3f8aa67dcb92b1aa5b90ea93df73103289b32aa3 /Gui | |
parent | 0cf0adb013842f6f0dab350bc7d49a0fef251d25 (diff) | |
download | mpv-d6f7221fd8dce48013e6c037c6fc71f1cd87fc5a.tar.bz2 mpv-d6f7221fd8dce48013e6c037c6fc71f1cd87fc5a.tar.xz |
redaw fix
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@1782 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'Gui')
-rw-r--r-- | Gui/mplayer/sw.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/Gui/mplayer/sw.h b/Gui/mplayer/sw.h index aadcdc2f45..cc2889a4ff 100644 --- a/Gui/mplayer/sw.h +++ b/Gui/mplayer/sw.h @@ -6,8 +6,9 @@ int mplSubMoved = 0; void mplSubDraw( wsParamDisplay ) { - if ( !appMPlayer.subWindow.Visible ) return; - if ( mplShMem->Playing ) { vo_expose=1; return; } + if ( appMPlayer.subWindow.Visible == wsWindowNotVisible ) return; + if ( ( mplShMem->Playing )&&( appMPlayer.subWindow.State == wsWindowExpose ) ) + { appMPlayer.subWindow.State=0; vo_expose=1; return; } if ( mplSubRender ) { |