changeset 1781:d94471abe4ca

redaw fix
author pontscho
date Thu, 30 Aug 2001 19:44:08 +0000
parents 2e406cbf4f4b
children dce42eebfda4
files Gui/mplayer/sw.h
diffstat 1 files changed, 3 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/Gui/mplayer/sw.h	Thu Aug 30 16:52:57 2001 +0000
+++ b/Gui/mplayer/sw.h	Thu Aug 30 19:44:08 2001 +0000
@@ -6,8 +6,9 @@
 
 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 )
   {