X-Git-Url: http://research.m1stereo.tv/gitweb?a=blobdiff_plain;f=src%2Fframework%2Fmlt_tractor.c;h=094352e32678ccb70ef7959dbabaec3f91dcc304;hb=c974f8e87e0bd3de851fb638660f502092b1425e;hp=b044873bfb840d30f65e77949b8c86941f2fbdbd;hpb=95f2d83a2093a4761f0075971a85a65139be51a6;p=melted diff --git a/src/framework/mlt_tractor.c b/src/framework/mlt_tractor.c index b044873..094352e 100644 --- a/src/framework/mlt_tractor.c +++ b/src/framework/mlt_tractor.c @@ -389,6 +389,11 @@ static int producer_get_frame( mlt_producer parent, mlt_frame_ptr frame, int tra video = temp; if ( first_video == NULL ) first_video = temp; + + // Ensure that all frames know the aspect ratio of the background + mlt_properties_set_double( temp_properties, "output_ratio", + mlt_properties_get_double( MLT_FRAME_PROPERTIES( first_video ), "aspect_ratio" ) ); + mlt_properties_set_int( MLT_FRAME_PROPERTIES( temp ), "image_count", ++ image_count ); image_count = 1; }