[Mplayer-cvslog] CVS: main/libvo aspect.c,1.12,1.13

Attila Kinali CVS attila at mplayerhq.hu
Sun Sep 21 13:56:38 CEST 2003


Update of /cvsroot/mplayer/main/libvo
In directory mail:/var/tmp.root/cvs-serv18814

Modified Files:
	aspect.c 
Log Message:
make aspect recognize -noaspect



Index: aspect.c
===================================================================
RCS file: /cvsroot/mplayer/main/libvo/aspect.c,v
retrieving revision 1.12
retrieving revision 1.13
diff -u -r1.12 -r1.13
--- aspect.c	13 Jan 2003 01:50:20 -0000	1.12
+++ aspect.c	21 Sep 2003 11:56:09 -0000	1.13
@@ -17,6 +17,7 @@
 #include "video_out.h"
 
 float monitor_aspect=4.0/3.0;
+extern float movie_aspect;
 
 static struct {
   int orgw; // real width
@@ -59,6 +60,7 @@
 void aspect(int *srcw, int *srch, int zoom){
   int tmpw;
 
+  if(movie_aspect == 0) return; // the user doesnt want to fix aspect
 #ifdef ASPECT_DEBUG
   printf("aspect(0) fitin: %dx%d zoom: %d screenaspect: %.2f\n",aspdat.scrw,aspdat.scrh,
       zoom,monitor_aspect);



More information about the MPlayer-cvslog mailing list