From d8c7fca58da2a1d5b2bb3f917bcf9798bd68bc1b Mon Sep 17 00:00:00 2001 From: lilo_booter Date: Sat, 18 Sep 2004 11:41:43 +0000 Subject: [PATCH] Aspect ratio fix git-svn-id: https://mlt.svn.sourceforge.net/svnroot/mlt/trunk/mlt@421 d19143bc-622f-0410-bfdd-b5b2a6649095 --- src/framework/mlt_tractor.c | 1 + 1 files changed, 1 insertions(+), 0 deletions(-) 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; } -- 1.7.4.4