summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas Sturmlechner <asturm@gentoo.org>2020-10-05 13:01:52 +0200
committerAndreas Sturmlechner <asturm@gentoo.org>2020-10-05 13:05:17 +0200
commit9ee1bd73f11a8835af749dd130ce362f77fc6d75 (patch)
treed0b2161d0115041b474dee8a1bf6933e6f234258 /media-libs/mlt/files
parentprofiles: ppc64: Drop obsolete media-gfx/gimp[python] p.use.stable.mask (diff)
downloadgentoo-9ee1bd73f11a8835af749dd130ce362f77fc6d75.tar.gz
gentoo-9ee1bd73f11a8835af749dd130ce362f77fc6d75.tar.bz2
gentoo-9ee1bd73f11a8835af749dd130ce362f77fc6d75.zip
media-libs/mlt: Fix regression in 6.22 with multiple affine filters
Package-Manager: Portage-3.0.8, Repoman-3.0.1 Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
Diffstat (limited to 'media-libs/mlt/files')
-rw-r--r--media-libs/mlt/files/mlt-6.22.1-fix-regression-w-multiple-affine-filters.patch23
1 files changed, 23 insertions, 0 deletions
diff --git a/media-libs/mlt/files/mlt-6.22.1-fix-regression-w-multiple-affine-filters.patch b/media-libs/mlt/files/mlt-6.22.1-fix-regression-w-multiple-affine-filters.patch
new file mode 100644
index 000000000000..d60976c11855
--- /dev/null
+++ b/media-libs/mlt/files/mlt-6.22.1-fix-regression-w-multiple-affine-filters.patch
@@ -0,0 +1,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;