comparison mplayer.c @ 1953:041483da104e

stop bug fix.
author pontscho
date Tue, 25 Sep 2001 15:13:58 +0000
parents b55163894e30
children a0bd07b10667
comparison
equal deleted inserted replaced
1952:b55163894e30 1953:041483da104e
1024 #endif 1024 #endif
1025 1025
1026 #ifdef HAVE_NEW_GUI 1026 #ifdef HAVE_NEW_GUI
1027 if ( use_gui ) 1027 if ( use_gui )
1028 { 1028 {
1029 // if ( !appMPlayer.subWindow.isFullScreen )
1030 // wsResizeWindow( &appMPlayer.subWindow,sh_video->disp_w,sh_video->disp_h );
1031 mplResizeToMovieSize( sh_video->disp_w,sh_video->disp_h ); 1029 mplResizeToMovieSize( sh_video->disp_w,sh_video->disp_h );
1032 moviewidth=screen_size_x=sh_video->disp_w; 1030 moviewidth=screen_size_x=sh_video->disp_w;
1033 movieheight=screen_size_y=sh_video->disp_h; 1031 movieheight=screen_size_y=sh_video->disp_h;
1034 } 1032 }
1035 #endif 1033 #endif
1921 1919
1922 #ifdef HAVE_NEW_GUI 1920 #ifdef HAVE_NEW_GUI
1923 if(use_gui) 1921 if(use_gui)
1924 { 1922 {
1925 mplStop(); 1923 mplStop();
1926 // mplSubRender=1;
1927 // wsPostRedisplay( &appMPlayer.subWindow );
1928 // mplShMem->TimeSec=0;
1929 // mplShMem->Position=0;
1930 // mplShMem->FrameDrop=0;
1931 } 1924 }
1932 #endif 1925 #endif
1933 1926
1934 if(use_gui || ++curr_filename<num_filenames){ 1927 if(use_gui || ++curr_filename<num_filenames){
1935 1928