Mercurial > mplayer.hg
changeset 1753:a411db476483
resize
author | pontscho |
---|---|
date | Wed, 29 Aug 2001 17:37:03 +0000 |
parents | 39fc6cc71b3b |
children | 3e2a7150cf11 |
files | mplayer.c |
diffstat | 1 files changed, 15 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/mplayer.c Wed Aug 29 17:27:16 2001 +0000 +++ b/mplayer.c Wed Aug 29 17:37:03 2001 +0000 @@ -573,7 +573,11 @@ play_next_file: filename=(num_filenames>0)?filenames[curr_filename]:NULL; #ifdef HAVE_NEW_GUI - strcpy( mplShMem->Filename,filename ); + if ( use_gui ) + { + strcpy( mplShMem->Filename,filename ); + mplShMem->Playing=1; + } #endif if(filename) mp_msg(MSGT_CPLAYER,MSGL_INFO,"Playing %s\n", filename); @@ -954,6 +958,16 @@ } #endif +#ifdef HAVE_NEW_GUI + if ( use_gui ) + { + if ( !appMPlayer.subWindow.isFullScreen ) + wsResizeWindow( &appMPlayer.subWindow,sh_video->disp_w,sh_video->disp_h ); + screen_size_x=appMPlayer.subWindow.Width; + screen_size_y=appMPlayer.subWindow.Height; + } +#endif + mp_msg(MSGT_CPLAYER,MSGL_V,"video_out->init(%dx%d->%dx%d,flags=%d,'%s',0x%X)\n", sh_video->disp_w,sh_video->disp_h, screen_size_x,screen_size_y,