blob: 4faecdc78792996b2017b26231932990f99a83f9 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
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
|