diff options
Diffstat (limited to 'media-libs/mlt/files/mlt-6.6.0-gif-encoding.patch')
-rw-r--r-- | media-libs/mlt/files/mlt-6.6.0-gif-encoding.patch | 33 |
1 files changed, 33 insertions, 0 deletions
diff --git a/media-libs/mlt/files/mlt-6.6.0-gif-encoding.patch b/media-libs/mlt/files/mlt-6.6.0-gif-encoding.patch new file mode 100644 index 000000000000..4faecdc78792 --- /dev/null +++ b/media-libs/mlt/files/mlt-6.6.0-gif-encoding.patch @@ -0,0 +1,33 @@ +From c7c2f271170892094a0cccdb517ca1b6061208d7 Mon Sep 17 00:00:00 2001 +From: Dan Dennedy <dan@dennedy.org> +Date: Mon, 12 Mar 2018 15:20:29 -0700 +Subject: [PATCH] Fix #284 GIF encoding not working. + +This also fixes DPX. +--- + presets/consumer/avformat/GIF | 1 - + src/modules/avformat/consumer_avformat.c | 2 +- + 2 files changed, 1 insertion(+), 2 deletions(-) + +diff --git a/presets/consumer/avformat/GIF b/presets/consumer/avformat/GIF +index f6a0cd41a..da7361851 100644 +--- a/presets/consumer/avformat/GIF ++++ b/presets/consumer/avformat/GIF +@@ -7,4 +7,3 @@ bf=0 + + meta.preset.extension=gif + meta.preset.name=GIF Animation +-meta.preset.hidden=1 +diff --git a/src/modules/avformat/consumer_avformat.c b/src/modules/avformat/consumer_avformat.c +index caac488e2..c3724d131 100644 +--- a/src/modules/avformat/consumer_avformat.c ++++ b/src/modules/avformat/consumer_avformat.c +@@ -71,7 +71,7 @@ + #define AUDIO_ENCODE_BUFFER_SIZE (48000 * 2 * MAX_AUDIO_STREAMS) + #define AUDIO_BUFFER_SIZE (1024 * 42) + #define VIDEO_BUFFER_SIZE (8192 * 8192) +-#define IMAGE_ALIGN (1) ++#define IMAGE_ALIGN (4) + + // + // This structure should be extended and made globally available in mlt |