From d6f7221fd8dce48013e6c037c6fc71f1cd87fc5a Mon Sep 17 00:00:00 2001 From: pontscho Date: Thu, 30 Aug 2001 19:44:08 +0000 Subject: [PATCH] redaw fix git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@1782 b3059339-0415-0410-9bf9-f77b7e298cf2 --- Gui/mplayer/sw.h | 5 +++-- 1 file 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 ) {