|
1 | 1 | class Mlt < Formula |
2 | 2 | desc "Author, manage, and run multitrack audio/video compositions" |
3 | 3 | homepage "https://www.mltframework.org/" |
| 4 | + url "https://github.com/mltframework/mlt/releases/download/v7.34.1/mlt-7.34.1.tar.gz" |
| 5 | + sha256 "4104b87db3e14389f81666938c131f723564773fec9aa18b6bff008761cc838b" |
4 | 6 | license "LGPL-2.1-only" |
5 | | - revision 4 |
6 | 7 | head "https://github.com/mltframework/mlt.git", branch: "master" |
7 | 8 |
|
8 | | - stable do |
9 | | - url "https://github.com/mltframework/mlt/releases/download/v7.32.0/mlt-7.32.0.tar.gz" |
10 | | - sha256 "1ca5aadfe27995c879b9253b3a48d1dcc3b1247ea0b5620b087d58f5521be028" |
11 | | - |
12 | | - # Backport support for FFmpeg 8.0 |
13 | | - patch :DATA # https://github.com/mltframework/mlt/commit/604972b255c53927082de3989237f857b7827b74 |
14 | | - patch do |
15 | | - url "https://github.com/mltframework/mlt/commit/ae83ceee72a0a39c063b02310f6ce928839712a2.patch?full_index=1" |
16 | | - sha256 "2a3fc8552f068766f1d829aa973e1f913040a83898476c0afd73119e500f2713" |
17 | | - end |
18 | | - end |
19 | | - |
20 | 9 | bottle do |
21 | 10 | sha256 arm64_tahoe: "22a8292716eb5104a09b7a55e40fad6b0a30417bbc1df32c7b5fbf8c9e1aef3d" |
22 | 11 | sha256 arm64_sequoia: "af25732dc924762956280f5a8126a6582db616317d7c18c8086e7d80a2f881e5" |
@@ -88,26 +77,3 @@ def install |
88 | 77 | assert_match "help", shell_output("#{bin}/melt -help") |
89 | 78 | end |
90 | 79 | end |
91 | | - |
92 | | -__END__ |
93 | | -diff --git a/src/modules/avformat/producer_avformat.c b/src/modules/avformat/producer_avformat.c |
94 | | -index 25f81d60e4bc8188c4a537489721ad74aba97431..6984ba286c1141de9bbc21b33e44f5d0ef7fb7dd 100644 |
95 | | ---- a/src/modules/avformat/producer_avformat.c |
96 | | -+++ b/src/modules/avformat/producer_avformat.c |
97 | | -@@ -2598,7 +2575,6 @@ static int producer_get_image(mlt_frame frame, |
98 | | - || codec_params->field_order == AV_FIELD_TB; |
99 | | - } |
100 | | - self->video_frame->top_field_first = self->top_field_first; |
101 | | --#ifdef AVFILTER |
102 | | - if ((self->autorotate || mlt_properties_get(properties, "filtergraph")) |
103 | | - && !setup_filters(self) && self->vfilter_graph) { |
104 | | - int ret = av_buffersrc_add_frame(self->vfilter_in, self->video_frame); |
105 | | -@@ -2614,7 +2590,7 @@ static int producer_get_image(mlt_frame frame, |
106 | | - } |
107 | | - } |
108 | | - } |
109 | | --#endif |
110 | | -+ |
111 | | - set_image_size(self, width, height); |
112 | | - if ((image_size |
113 | | - = allocate_buffer(frame, codec_params, buffer, *format, *width, *height))) { |
0 commit comments