From: lilo_booter Date: Sat, 18 Sep 2004 11:41:43 +0000 (+0000) Subject: Aspect ratio fix X-Git-Url: http://research.m1stereo.tv/gitweb?a=commitdiff_plain;h=d8c7fca58da2a1d5b2bb3f917bcf9798bd68bc1b;p=melted Aspect ratio fix git-svn-id: https://mlt.svn.sourceforge.net/svnroot/mlt/trunk/mlt@421 d19143bc-622f-0410-bfdd-b5b2a6649095 --- diff --git a/src/framework/mlt_tractor.c b/src/framework/mlt_tractor.c index 769a26c..18cae0c 100644 --- a/src/framework/mlt_tractor.c +++ b/src/framework/mlt_tractor.c @@ -210,6 +210,7 @@ static int producer_get_image( mlt_frame this, uint8_t **buffer, mlt_image_forma mlt_properties_set_data( properties, "image", *buffer, *width * *height * 2, NULL, NULL ); mlt_properties_set_int( properties, "width", *width ); mlt_properties_set_int( properties, "height", *height ); + mlt_properties_set_double( properties, "aspect_ratio", mlt_frame_get_aspect_ratio( frame ) ); return 0; }