Mercurial > mplayer.hg
changeset 1797:d1aabeb7274f
fix after stop redraw. vagy nem.
author | pontscho |
---|---|
date | Fri, 31 Aug 2001 11:26:14 +0000 |
parents | 13ea5f992185 |
children | ddeafb1dbc73 |
files | Gui/mplayer/play.c mplayer.c |
diffstat | 2 files changed, 11 insertions(+), 8 deletions(-) [+] |
line wrap: on
line diff
--- a/Gui/mplayer/play.c Fri Aug 31 10:30:57 2001 +0000 +++ b/Gui/mplayer/play.c Fri Aug 31 11:26:14 2001 +0000 @@ -58,6 +58,8 @@ 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 )
--- a/mplayer.c Fri Aug 31 10:30:57 2001 +0000 +++ b/mplayer.c Fri Aug 31 11:26:14 2001 +0000 @@ -1840,9 +1840,6 @@ } -#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(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){