summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--Gui/mplayer/play.c6
-rw-r--r--mplayer.c5
2 files changed, 10 insertions, 1 deletions
diff --git a/Gui/mplayer/play.c b/Gui/mplayer/play.c
index aa2aa81360..8ec67641bc 100644
--- a/Gui/mplayer/play.c
+++ b/Gui/mplayer/play.c
@@ -53,7 +53,11 @@ void mplStop()
printf("%%%%%% STOP \n");
// ---
mplShMem->Playing=0;
- mplSubRender=1;
+ if ( !appMPlayer.subWindow.isFullScreen )
+ {
+ wsMoveWindow( &appMPlayer.subWindow,appMPlayer.sub.x,appMPlayer.sub.y );
+ wsResizeWindow( &appMPlayer.subWindow,appMPlayer.sub.width,appMPlayer.sub.height );
+ }
}
void mplPlay( void )
diff --git a/mplayer.c b/mplayer.c
index f1473db5a2..ea797b9038 100644
--- a/mplayer.c
+++ b/mplayer.c
@@ -1858,6 +1858,11 @@ if(curr_filename+1<num_filenames || use_gui){
if(video_out) video_out->uninit();
#endif
+#ifdef HAVE_NEW_GUI
+ mplSubRender=1;
+ wsPostRedisplay( &appMPlayer.subWindow );
+#endif
+
current_module="uninit_ao";
if(audio_out) audio_out->uninit();
// if(encode_name) avi_fixate();