summaryrefslogtreecommitdiff
path: root/media-libs/mlt/files/mlt-6.22.1-fix-regression-w-multiple-affine-filters.patch
blob: d60976c11855c926c85d7793cc24d05816ee017e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
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;