summaryrefslogtreecommitdiffstats
path: root/Gui
diff options
context:
space:
mode:
Diffstat (limited to 'Gui')
-rw-r--r--Gui/mplayer/play.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/Gui/mplayer/play.c b/Gui/mplayer/play.c
index f1ef8634d5..5d94f239ac 100644
--- a/Gui/mplayer/play.c
+++ b/Gui/mplayer/play.c
@@ -50,15 +50,15 @@ void mplStop()
mplShMem->TimeSec=0;
mplShMem->Position=0;
mplShMem->AudioType=0;
- mplSubRender=1;
- wsPostRedisplay( &appMPlayer.subWindow );
- if ( !mplShMem->Playing ) return;
+// if ( !mplShMem->Playing ) return;
if ( !appMPlayer.subWindow.isFullScreen )
{
wsMoveWindow( &appMPlayer.subWindow,appMPlayer.sub.x,appMPlayer.sub.y );
wsResizeWindow( &appMPlayer.subWindow,appMPlayer.sub.width,appMPlayer.sub.height );
}
mplSubRender=1;
+ wsClearWindow( appMPlayer.subWindow );
+ wsSetBackgroundRGB( &appMPlayer.subWindow,appMPlayer.subR,appMPlayer.subG,appMPlayer.subB );
wsPostRedisplay( &appMPlayer.subWindow );
}