X-Git-Url: https://git.sesse.net/?a=blobdiff_plain;f=src%2Fmodules%2Fcore%2Ftransition_luma.c;h=ebdc82cf15a159607acd858e9dd8ebce69aad619;hb=9029c77b04ddf9c9d9becacca56615607bb84234;hp=11c334c087169586c46142bf64463d7dfc0fae0c;hpb=efd5f25f6fe70f75f9787e9c7f2b53730ecf6048;p=mlt diff --git a/src/modules/core/transition_luma.c b/src/modules/core/transition_luma.c index 11c334c0..ebdc82cf 100644 --- a/src/modules/core/transition_luma.c +++ b/src/modules/core/transition_luma.c @@ -486,6 +486,10 @@ static int transition_get_image( mlt_frame a_frame, uint8_t **image, mlt_image_f // Since we are the consumer of the b_frame, we must pass along this // consumer property from the a_frame + if ( mlt_properties_get_double( a_props, "aspect_ratio" ) == 0.0 ) + mlt_properties_set_double( a_props, "aspect_ratio", mlt_properties_get_double( a_props, "consumer_aspect_ratio" ) ); + if ( mlt_properties_get_double( b_props, "aspect_ratio" ) == 0.0 ) + mlt_properties_set_double( b_props, "aspect_ratio", mlt_properties_get_double( a_props, "consumer_aspect_ratio" ) ); if ( !strcmp( mlt_properties_get( a_props, "rescale.interp" ), "none" ) ) mlt_properties_set_double( b_props, "consumer_aspect_ratio", mlt_properties_get_double( a_props, "aspect_ratio" ) ); else