changeset 3139:45d8fe54f1ea

Fix -noaspect.
author atmos4
date Mon, 26 Nov 2001 16:36:45 +0000
parents 4c6f41e35d30
children 4173305887a7
files mplayer.c
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/mplayer.c	Mon Nov 26 14:44:45 2001 +0000
+++ b/mplayer.c	Mon Nov 26 16:36:45 2001 +0000
@@ -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){