# HG changeset patch # User pontscho # Date 999257174 0 # Node ID d1aabeb7274f2ea0158f1b6af2d6e859fe4f7af0 # Parent 13ea5f9921859460bebfaa3844f68e73a7b5b904 fix after stop redraw. vagy nem. diff -r 13ea5f992185 -r d1aabeb7274f Gui/mplayer/play.c --- 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 ) diff -r 13ea5f992185 -r d1aabeb7274f mplayer.c --- 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+1uninit(); #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