From 9963a6c9ec5fc7cf01d0932151aec4bcf4cc409b Mon Sep 17 00:00:00 2001 From: lilo_booter Date: Sat, 18 Sep 2004 14:00:21 +0000 Subject: [PATCH] aspect ratio fix for test card git-svn-id: https://mlt.svn.sourceforge.net/svnroot/mlt/trunk/mlt@426 d19143bc-622f-0410-bfdd-b5b2a6649095 --- src/framework/mlt_frame.c | 1 + 1 files changed, 1 insertions(+), 0 deletions(-) diff --git a/src/framework/mlt_frame.c b/src/framework/mlt_frame.c index 4837360..e3e4f3f 100644 --- a/src/framework/mlt_frame.c +++ b/src/framework/mlt_frame.c @@ -228,6 +228,7 @@ int mlt_frame_get_image( mlt_frame this, uint8_t **buffer, mlt_image_format *for 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( test_frame ) ); mlt_properties_set( properties, "rescale.interp", "none" ); mlt_properties_set( properties, "scale", "off" ); } -- 1.7.4.4