summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSven Eden <sven.eden@prydeworx.com>2024-05-05 12:50:20 +0200
committerSven Eden <sven.eden@prydeworx.com>2024-05-05 12:50:20 +0200
commit247e3586439c2f81d841ec1461015c607a255b75 (patch)
tree53f8755feec9f3773390df628b42a0360be79af5 /media-libs/mlt/files/mlt-7.20.0-rotoscoping-crash.patch
parentsys-auth/elogind: add 252.24, drop 252.23-r1 (diff)
downloadseden-247e3586439c2f81d841ec1461015c607a255b75.tar.gz
seden-247e3586439c2f81d841ec1461015c607a255b75.tar.bz2
seden-247e3586439c2f81d841ec1461015c607a255b75.zip
media-libs/mlt: Bump to v7.24
Signed-off-by: Sven Eden <sven.eden@prydeworx.com>
Diffstat (limited to 'media-libs/mlt/files/mlt-7.20.0-rotoscoping-crash.patch')
-rw-r--r--media-libs/mlt/files/mlt-7.20.0-rotoscoping-crash.patch22
1 files changed, 0 insertions, 22 deletions
diff --git a/media-libs/mlt/files/mlt-7.20.0-rotoscoping-crash.patch b/media-libs/mlt/files/mlt-7.20.0-rotoscoping-crash.patch
deleted file mode 100644
index 124e110..0000000
--- a/media-libs/mlt/files/mlt-7.20.0-rotoscoping-crash.patch
+++ /dev/null
@@ -1,22 +0,0 @@
-From 482f1fb0179587575b3071f622df51a95895068a Mon Sep 17 00:00:00 2001
-From: Jean-Baptiste Mardelle <jb@kdenlive.org>
-Date: Wed, 4 Oct 2023 22:26:13 +0200
-Subject: [PATCH] Fix rotoscoping filter crash on image with height = 0
-
----
- src/modules/plusgpl/filter_rotoscoping.c | 2 +-
- 1 file changed, 1 insertion(+), 1 deletion(-)
-
-diff --git a/src/modules/plusgpl/filter_rotoscoping.c b/src/modules/plusgpl/filter_rotoscoping.c
-index 35e3931f0..782c39422 100644
---- a/src/modules/plusgpl/filter_rotoscoping.c
-+++ b/src/modules/plusgpl/filter_rotoscoping.c
-@@ -337,7 +337,7 @@ static int filter_get_image(mlt_frame frame,
- int offsetx = 0;
- int offsety = 0;
- // Compare aspect ratio
-- if (100 * *width / *height != 100 * normalized_width / normalized_height) {
-+ if (*height > 0 && 100 * *width / *height != 100 * normalized_width / normalized_height) {
- // Source has a different aspect ratio, apply scaling
- double xfactor = normalized_width / *width;
- double yfactor = normalized_height / *height;