diff options
Diffstat (limited to 'Gui/mplayer/sw.h')
-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 ) { |