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

Atmosfear atmos4 at mplayerhq.hu
Sun Sep 21 17:35:31 CEST 2003


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

Modified Files:
	aspect.c 
Log Message:
temporary fix for attilas 10l, until better solution is found

Index: aspect.c
===================================================================
RCS file: /cvsroot/mplayer/main/libvo/aspect.c,v
retrieving revision 1.13
retrieving revision 1.14
diff -u -r1.13 -r1.14
--- aspect.c	21 Sep 2003 11:56:09 -0000	1.13
+++ aspect.c	21 Sep 2003 15:34:51 -0000	1.14
@@ -60,7 +60,12 @@
 void aspect(int *srcw, int *srch, int zoom){
   int tmpw;
 
-  if(movie_aspect == 0) return; // the user doesnt want to fix aspect
+  if(!zoom && movie_aspect == 0) {
+#ifdef ASPECT_DEBUG
+    printf("aspect(0) no aspect forced!\n");
+#endif
+    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