Mercurial > mplayer.hg
changeset 1953:041483da104e
stop bug fix.
author | pontscho |
---|---|
date | Tue, 25 Sep 2001 15:13:58 +0000 |
parents | b55163894e30 |
children | 6062e4e844df |
files | Gui/mplayer/play.c mplayer.c |
diffstat | 2 files changed, 3 insertions(+), 10 deletions(-) [+] |
line wrap: on
line diff
--- a/Gui/mplayer/play.c Tue Sep 25 14:00:19 2001 +0000 +++ b/Gui/mplayer/play.c Tue Sep 25 15:13:58 2001 +0000 @@ -50,15 +50,15 @@ mplShMem->TimeSec=0; mplShMem->Position=0; mplShMem->AudioType=0; - mplSubRender=1; - wsPostRedisplay( &appMPlayer.subWindow ); - if ( !mplShMem->Playing ) return; +// if ( !mplShMem->Playing ) return; if ( !appMPlayer.subWindow.isFullScreen ) { wsMoveWindow( &appMPlayer.subWindow,appMPlayer.sub.x,appMPlayer.sub.y ); wsResizeWindow( &appMPlayer.subWindow,appMPlayer.sub.width,appMPlayer.sub.height ); } mplSubRender=1; + wsClearWindow( appMPlayer.subWindow ); + wsSetBackgroundRGB( &appMPlayer.subWindow,appMPlayer.subR,appMPlayer.subG,appMPlayer.subB ); wsPostRedisplay( &appMPlayer.subWindow ); }
--- a/mplayer.c Tue Sep 25 14:00:19 2001 +0000 +++ b/mplayer.c Tue Sep 25 15:13:58 2001 +0000 @@ -1026,8 +1026,6 @@ #ifdef HAVE_NEW_GUI if ( use_gui ) { -// if ( !appMPlayer.subWindow.isFullScreen ) -// wsResizeWindow( &appMPlayer.subWindow,sh_video->disp_w,sh_video->disp_h ); mplResizeToMovieSize( sh_video->disp_w,sh_video->disp_h ); moviewidth=screen_size_x=sh_video->disp_w; movieheight=screen_size_y=sh_video->disp_h; @@ -1923,11 +1921,6 @@ if(use_gui) { mplStop(); -// mplSubRender=1; -// wsPostRedisplay( &appMPlayer.subWindow ); -// mplShMem->TimeSec=0; -// mplShMem->Position=0; -// mplShMem->FrameDrop=0; } #endif