From c1333ab3917e63f8bc4684aa4cee0a1984a61c04 Mon Sep 17 00:00:00 2001 From: lilo_booter Date: Wed, 7 Apr 2004 17:04:19 +0000 Subject: [PATCH] test card and aspect ratio woes continued git-svn-id: https://mlt.svn.sourceforge.net/svnroot/mlt/trunk/mlt@271 d19143bc-622f-0410-bfdd-b5b2a6649095 --- src/framework/mlt_frame.c | 5 +---- 1 files changed, 1 insertions(+), 4 deletions(-) diff --git a/src/framework/mlt_frame.c b/src/framework/mlt_frame.c index dd89049..4d58232 100644 --- a/src/framework/mlt_frame.c +++ b/src/framework/mlt_frame.c @@ -219,16 +219,13 @@ int mlt_frame_get_image( mlt_frame this, uint8_t **buffer, mlt_image_format *for if ( test_frame != NULL ) { mlt_properties test_properties = mlt_frame_properties( test_frame ); - //mlt_properties_pass( test_properties, properties, "" ); mlt_properties_set( test_properties, "rescale.interp", "nearest" ); - //mlt_properties_set( test_properties, "aspect_ratio", "1" ); - //mlt_properties_set( test_properties, "consumer_aspect_ratio", "1" ); + mlt_properties_set_double( test_properties, "consumer_aspect_ratio", mlt_properties_get_double( properties, "consumer_aspect_ratio" ) ); mlt_frame_get_image( test_frame, buffer, format, width, height, writable ); mlt_properties_set_data( properties, "test_card_frame", test_frame, 0, ( mlt_destructor )mlt_frame_close, NULL ); 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_pass( properties, test_properties, "" ); mlt_properties_set( properties, "rescale.interp", "none" ); mlt_properties_set( properties, "scale", "off" ); } -- 1.7.4.4