X-Git-Url: http://research.m1stereo.tv/gitweb?a=blobdiff_plain;f=src%2Fmodules%2Fcore%2Ftransition_composite.c;fp=src%2Fmodules%2Fcore%2Ftransition_composite.c;h=333fb6e1d337d2fa1bed2b9544657590cc80fbbf;hb=cdbcbb68891bdd3e3720fbba83871a23fc450a7d;hp=f4d8663a55e151d3472c3caeed035eb52d2ede2d;hpb=05b29b78bfb59b49836719573f4c7503066bad04;p=melted diff --git a/src/modules/core/transition_composite.c b/src/modules/core/transition_composite.c index f4d8663..333fb6e 100644 --- a/src/modules/core/transition_composite.c +++ b/src/modules/core/transition_composite.c @@ -747,7 +747,7 @@ static int get_b_frame_image( mlt_transition this, mlt_frame b_frame, uint8_t ** // ????: Shouln't this be the default behaviour? if ( mlt_properties_get_int( properties, "fill" ) && scaled_width > 0 && scaled_height > 0 ) { - if ( scaled_height < normalised_height && scaled_width * normalised_height / scaled_height < normalised_width ) + if ( scaled_height < normalised_height && scaled_width * normalised_height / scaled_height <= normalised_width ) { scaled_width = rint( 0.5 + scaled_width * normalised_height / scaled_height ); scaled_height = normalised_height;