mirror of https://github.com/mpv-player/mpv
fix after stop redraw. vagy nem.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@1798 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
parent
d33c0984d4
commit
4001e2c63f
|
@ -58,6 +58,8 @@ printf("%%%%%% STOP \n");
|
|||
wsMoveWindow( &appMPlayer.subWindow,appMPlayer.sub.x,appMPlayer.sub.y );
|
||||
wsResizeWindow( &appMPlayer.subWindow,appMPlayer.sub.width,appMPlayer.sub.height );
|
||||
}
|
||||
mplSubRender=1;
|
||||
wsPostRedisplay( &appMPlayer.subWindow );
|
||||
}
|
||||
|
||||
void mplPlay( void )
|
||||
|
|
17
mplayer.c
17
mplayer.c
|
@ -1840,9 +1840,6 @@ mp_msg(MSGT_GLOBAL,MSGL_V,"EOF code: %d \n",eof);
|
|||
|
||||
}
|
||||
|
||||
#ifdef HAVE_NEW_GUI
|
||||
if(use_gui) mplShMem->Playing=0;
|
||||
#endif
|
||||
|
||||
if(curr_filename+1<num_filenames || use_gui){
|
||||
// partial uninit:
|
||||
|
@ -1858,16 +1855,20 @@ 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();
|
||||
}
|
||||
|
||||
#ifdef HAVE_NEW_GUI
|
||||
if(use_gui)
|
||||
{
|
||||
mplStop();
|
||||
mplSubRender=1;
|
||||
wsPostRedisplay( &appMPlayer.subWindow );
|
||||
}
|
||||
#endif
|
||||
|
||||
goto_next_file: // don't jump here after ao/vo/getch initialization!
|
||||
if(use_gui || ++curr_filename<num_filenames){
|
||||
|
||||
|
|
Loading…
Reference in New Issue