From: ddennedy Date: Thu, 6 May 2004 15:15:32 +0000 (+0000) Subject: set output frame aspect to consumer sample aspect, not display aspect. X-Git-Url: http://research.m1stereo.tv/gitweb?a=commitdiff_plain;h=2bdd20ae194e477238e5d44ddb5f77ad64e644cf;p=melted set output frame aspect to consumer sample aspect, not display aspect. git-svn-id: https://mlt.svn.sourceforge.net/svnroot/mlt/trunk/mlt@308 d19143bc-622f-0410-bfdd-b5b2a6649095 --- diff --git a/src/modules/core/filter_resize.c b/src/modules/core/filter_resize.c index 1d551c2..dcaa2d0 100644 --- a/src/modules/core/filter_resize.c +++ b/src/modules/core/filter_resize.c @@ -78,7 +78,7 @@ static int filter_get_image( mlt_frame this, uint8_t **image, mlt_image_format * oheight = scaled_height * oheight / normalised_height; // Tell frame we have conformed the aspect to the consumer - mlt_frame_set_aspect_ratio( this, output_ar ); + mlt_frame_set_aspect_ratio( this, mlt_properties_get_double( properties, "consumer_aspect_ratio" ) ); } // Now pass on the calculations down the line