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:
parent
2921bfbc69
commit
d33c0984d4
@ -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 )
|
||||
|
@ -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();
|
||||
|
Loading…
Reference in New Issue
Block a user