[Mplayer-cvslog] CVS: main mplayer.c,1.325,1.326

Atmosfear atmos4 at mplayer.dev.hu
Mon Nov 26 17:36:56 CET 2001


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

Modified Files:
	mplayer.c 
Log Message:
Fix -noaspect.


Index: mplayer.c
===================================================================
RCS file: /cvsroot/mplayer/main/mplayer.c,v
retrieving revision 1.325
retrieving revision 1.326
diff -u -r1.325 -r1.326
--- mplayer.c	25 Nov 2001 14:29:50 -0000	1.325
+++ mplayer.c	26 Nov 2001 16:36:45 -0000	1.326
@@ -224,7 +224,7 @@
 static int screen_size_x=0;//SCREEN_SIZE_X;
 static int screen_size_y=0;//SCREEN_SIZE_Y;
 static int screen_size_xy=0;
-static float movie_aspect=0.0;
+static float movie_aspect=-1.0;
 
 char* playlist_file;
 
@@ -1042,7 +1042,7 @@
    }
 #endif
   // Set default VGA 1:1 aspect as fallback ::atmos
-  if(movie_aspect) sh_video->aspect = movie_aspect; // cmdline overrides autodetect
+  if(movie_aspect>-1.0) sh_video->aspect = movie_aspect; // cmdline overrides autodetect
 //  if(!sh_video->aspect) sh_video->aspect=1.0;
 
   if(screen_size_xy||screen_size_x||screen_size_y){




More information about the MPlayer-cvslog mailing list