[Mplayer-cvslog] CVS: main mplayer.c,1.279,1.280

Zoltan Ponekker pontscho at mplayer.dev.hu
Tue Sep 25 16:00:22 CEST 2001


Update of /cvsroot/mplayer/main
In directory mplayer:/var/tmp.root/cvs-serv32761

Modified Files:
	mplayer.c 
Log Message:
compile bug fixed.

Index: mplayer.c
===================================================================
RCS file: /cvsroot/mplayer/main/mplayer.c,v
retrieving revision 1.279
retrieving revision 1.280
diff -u -r1.279 -r1.280
--- mplayer.c	12 Sep 2001 22:19:36 -0000	1.279
+++ mplayer.c	25 Sep 2001 14:00:06 -0000	1.280
@@ -1026,9 +1026,11 @@
 #ifdef HAVE_NEW_GUI
    if ( use_gui )
     {
-     if ( !appMPlayer.subWindow.isFullScreen ) wsResizeWindow( &appMPlayer.subWindow,sh_video->disp_w,sh_video->disp_h );
-     moviewidth=screen_size_x=appMPlayer.subWindow.Width;
-     movieheight=screen_size_y=appMPlayer.subWindow.Height;
+//     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;
     }
 #endif
 
@@ -1921,11 +1923,11 @@
       if(use_gui) 
        {
         mplStop();
-        mplSubRender=1;
-        wsPostRedisplay( &appMPlayer.subWindow );
-        mplShMem->TimeSec=0;
-        mplShMem->Position=0;       
-	mplShMem->FrameDrop=0;
+//        mplSubRender=1;
+//        wsPostRedisplay( &appMPlayer.subWindow );
+//        mplShMem->TimeSec=0;
+//        mplShMem->Position=0;       
+//	mplShMem->FrameDrop=0;
        }	
 #endif
 




More information about the MPlayer-cvslog mailing list