From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 29663138334 for ; Sun, 22 Jul 2018 21:50:52 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 1C5EDE0961; Sun, 22 Jul 2018 21:50:51 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id E3530E0961 for ; Sun, 22 Jul 2018 21:50:50 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 1E90A335D8D for ; Sun, 22 Jul 2018 21:50:49 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 3F204380 for ; Sun, 22 Jul 2018 21:50:47 +0000 (UTC) From: "Andreas Sturmlechner" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Andreas Sturmlechner" Message-ID: <1532296156.5db3ebf975df589d6d2414317c52964c9dec5612.asturm@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: media-libs/mlt/files/, media-libs/mlt/ X-VCS-Repository: repo/gentoo X-VCS-Files: media-libs/mlt/files/mlt-6.6.0-gif-encoding.patch media-libs/mlt/mlt-6.6.0-r1.ebuild X-VCS-Directories: media-libs/mlt/files/ media-libs/mlt/ X-VCS-Committer: asturm X-VCS-Committer-Name: Andreas Sturmlechner X-VCS-Revision: 5db3ebf975df589d6d2414317c52964c9dec5612 X-VCS-Branch: master Date: Sun, 22 Jul 2018 21:50:47 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Archives-Salt: 1e333220-e48f-4bdf-81ba-ebd9cda6ab79 X-Archives-Hash: 6dceac5831ab47a239a28b426ce60829 commit: 5db3ebf975df589d6d2414317c52964c9dec5612 Author: Andreas Sturmlechner gentoo org> AuthorDate: Sun Jul 22 20:15:21 2018 +0000 Commit: Andreas Sturmlechner gentoo org> CommitDate: Sun Jul 22 21:49:16 2018 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5db3ebf9 media-libs/mlt: Fix gif encoding with >=ffmpeg-3.2 Package-Manager: Portage-2.3.43, Repoman-2.3.10 media-libs/mlt/files/mlt-6.6.0-gif-encoding.patch | 33 +++++++++++++++++++++++ media-libs/mlt/mlt-6.6.0-r1.ebuild | 1 + 2 files changed, 34 insertions(+) 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 00000000000..4faecdc7879 --- /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 +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 diff --git a/media-libs/mlt/mlt-6.6.0-r1.ebuild b/media-libs/mlt/mlt-6.6.0-r1.ebuild index b0b811b945d..c5eed698d08 100644 --- a/media-libs/mlt/mlt-6.6.0-r1.ebuild +++ b/media-libs/mlt/mlt-6.6.0-r1.ebuild @@ -99,6 +99,7 @@ PATCHES=( "${FILESDIR}"/${P}-vorbis-ffmpeg-3.4.patch "${FILESDIR}"/${P}-libav-{1,2,3}.patch "${FILESDIR}"/${P}-png-segfault.patch + "${FILESDIR}"/${P}-gif-encoding.patch ) pkg_setup() {