[Mplayer-cvslog] CVS: main/libvo vo_quartz.c,1.34,1.35

Nicolas Plourde CVS syncmail at mplayerhq.hu
Fri Oct 29 01:06:37 CEST 2004


CVS change done by Nicolas Plourde CVS

Update of /cvsroot/mplayer/main/libvo
In directory mail:/var2/tmp/cvs-serv22426/libvo

Modified Files:
	vo_quartz.c 
Log Message:
get proper movie aspect

Index: vo_quartz.c
===================================================================
RCS file: /cvsroot/mplayer/main/libvo/vo_quartz.c,v
retrieving revision 1.34
retrieving revision 1.35
diff -u -r1.34 -r1.35
--- vo_quartz.c	28 Oct 2004 22:03:26 -0000	1.34
+++ vo_quartz.c	28 Oct 2004 23:06:35 -0000	1.35
@@ -581,12 +581,12 @@
 	aspect_save_orig(width,height);
 	aspect_save_prescale(d_width,d_height);
 	aspect_save_screenres(device_width, device_height);
-
-	movie_aspect = (float)imgRect.right/(float)imgRect.bottom;
-	old_movie_aspect = movie_aspect; 
 	
 	aspect(&d_width,&d_height,A_NOZOOM);
 	
+	movie_aspect = (float)d_width/(float)d_height;
+	old_movie_aspect = movie_aspect;
+	
 	if(image_data)
 		free(image_data);
 	




More information about the MPlayer-cvslog mailing list