1
0
mirror of https://github.com/mpv-player/mpv synced 2024-12-14 19:05:33 +00:00

fix stop subimage

git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@1797 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
pontscho 2001-08-31 10:30:57 +00:00
parent 2921bfbc69
commit d33c0984d4
2 changed files with 10 additions and 1 deletions

View File

@ -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 )

View File

@ -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();