changeset 13793:631b0b664ece

get proper movie aspect
author nplourde
date Thu, 28 Oct 2004 23:06:35 +0000
parents d603c33bb3d3
children fb83e23e94ce
files libvo/vo_quartz.c
diffstat 1 files changed, 3 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/libvo/vo_quartz.c	Thu Oct 28 22:03:26 2004 +0000
+++ b/libvo/vo_quartz.c	Thu Oct 28 23:06:35 2004 +0000
@@ -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);