# HG changeset patch # User nplourde # Date 1099004795 0 # Node ID 631b0b664ece592252d36648f14ccb7d690eb4a8 # Parent d603c33bb3d33e025c281ad240e0d5958f853fe4 get proper movie aspect diff -r d603c33bb3d3 -r 631b0b664ece libvo/vo_quartz.c --- 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);