You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
gentoo-full-overlay/media-libs/mlt/files/mlt-6.22.1-fix-regression-w...

24 lines
1.1 KiB

From 8b778aaee121c6b381bd570c2b6f526989866f8e Mon Sep 17 00:00:00 2001
From: Dan Dennedy <dan@dennedy.org>
Date: Fri, 11 Sep 2020 21:24:24 -0700
Subject: [PATCH] fix regression in 2c354d6e with multiple affine filters
See #9 in https://forum.shotcut.org/t/v20-09-beta-is-now-available-to-
test/20766/31
---
src/modules/plus/transition_affine.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/src/modules/plus/transition_affine.c b/src/modules/plus/transition_affine.c
index 63bbaa1df..b1147c8c6 100644
--- a/src/modules/plus/transition_affine.c
+++ b/src/modules/plus/transition_affine.c
@@ -564,6 +564,7 @@ static int transition_get_image( mlt_frame a_frame, uint8_t **image, mlt_image_f
b_height = result.h;
// Set the rescale interpolation to match the frame
mlt_properties_set( b_props, "rescale.interp", mlt_properties_get( a_props, "rescale.interp" ) );
+ mlt_properties_set_int( b_props, "distort", 1 );
} else if (scale_width != 1.0 || scale_height != 1.0) {
// Scale request of b frame image to consumer scale maintaining its aspect ratio.
b_height = *height;