mirror of
https://github.com/yann64/haikuports.git
synced 2026-03-19 01:46:00 +01:00
mlt, bump to version 7.36.1 (#13768)
This commit is contained in:
@@ -1,13 +1,13 @@
|
||||
SUMMARY="An open source multimedia framework"
|
||||
DESCRIPTION="A LGPL multimedia framework designed for TV broadcasting"
|
||||
HOMEPAGE="https://www.mltframework.org/"
|
||||
COPYRIGHT="2002-2025 by Meltytech, LLC."
|
||||
COPYRIGHT="2002-2026 by Meltytech, LLC."
|
||||
LICENSE="GNU LGPL v2.1
|
||||
GNU GPL v2
|
||||
GNU GPL v3"
|
||||
REVISION="1"
|
||||
SOURCE_URI="https://github.com/mltframework/mlt/releases/download/v$portVersion/mlt-$portVersion.tar.gz"
|
||||
CHECKSUM_SHA256="4104b87db3e14389f81666938c131f723564773fec9aa18b6bff008761cc838b"
|
||||
CHECKSUM_SHA256="0d2b956864ba2ff58bb4e2b2779aa36870bd2a3a835e2dbfda33faa5fc6f4d3a"
|
||||
PATCHES="mlt-$portVersion.patchset"
|
||||
|
||||
ARCHITECTURES="all !x86_gcc2"
|
||||
@@ -1,14 +1,14 @@
|
||||
From 1837e831e08f6e00c6a8e933e7b18c9a7c8b0ba1 Mon Sep 17 00:00:00 2001
|
||||
From 94ed24f4ce0066b3cdd1f3d92ec8efedd90e7d32 Mon Sep 17 00:00:00 2001
|
||||
From: TURX <turx2003@gmail.com>
|
||||
Date: Sun, 19 Jan 2020 22:57:40 +0800
|
||||
Subject: fix Haiku support
|
||||
|
||||
|
||||
diff --git a/src/framework/mlt_consumer.c b/src/framework/mlt_consumer.c
|
||||
index 7eb9fce..0a76e35 100644
|
||||
index 159d3a7..a5ec877 100644
|
||||
--- a/src/framework/mlt_consumer.c
|
||||
+++ b/src/framework/mlt_consumer.c
|
||||
@@ -1174,9 +1174,11 @@ static void consumer_work_start(mlt_consumer self)
|
||||
@@ -1217,9 +1217,11 @@ static void consumer_work_start(mlt_consumer self)
|
||||
|
||||
priority.sched_priority = mlt_properties_get_int(MLT_CONSUMER_PROPERTIES(self), "priority");
|
||||
pthread_attr_init(&thread_attributes);
|
||||
@@ -21,7 +21,7 @@ index 7eb9fce..0a76e35 100644
|
||||
pthread_attr_setinheritsched(&thread_attributes, PTHREAD_EXPLICIT_SCHED);
|
||||
#endif
|
||||
pthread_attr_setscope(&thread_attributes, PTHREAD_SCOPE_SYSTEM);
|
||||
@@ -1754,9 +1756,11 @@ static void mlt_thread_create(mlt_consumer self, mlt_thread_function_t function)
|
||||
@@ -1797,9 +1799,11 @@ static void mlt_thread_create(mlt_consumer self, mlt_thread_function_t function)
|
||||
< 1) {
|
||||
pthread_attr_t thread_attributes;
|
||||
pthread_attr_init(&thread_attributes);
|
||||
@@ -35,10 +35,10 @@ index 7eb9fce..0a76e35 100644
|
||||
&& __ANDROID_API__ \
|
||||
>= 28) // pthread_attr_setinheritsched is not available until API level 28
|
||||
diff --git a/src/framework/mlt_slices.c b/src/framework/mlt_slices.c
|
||||
index 3f5b321..b036d71 100644
|
||||
index d91743e..1452b2e 100644
|
||||
--- a/src/framework/mlt_slices.c
|
||||
+++ b/src/framework/mlt_slices.c
|
||||
@@ -199,7 +199,9 @@ static mlt_slices mlt_slices_init(int threads, int policy, int priority)
|
||||
@@ -203,7 +203,9 @@ static mlt_slices mlt_slices_init(int threads, int policy, int priority)
|
||||
policy = SCHED_OTHER;
|
||||
if (priority < 0)
|
||||
priority = sched_get_priority_max(policy);
|
||||
@@ -49,10 +49,10 @@ index 3f5b321..b036d71 100644
|
||||
pthread_attr_setschedparam(&tattr, ¶m);
|
||||
|
||||
diff --git a/src/modules/decklink/consumer_decklink.cpp b/src/modules/decklink/consumer_decklink.cpp
|
||||
index f9193d6..176ca01 100644
|
||||
index c79c862..d1a9eaf 100644
|
||||
--- a/src/modules/decklink/consumer_decklink.cpp
|
||||
+++ b/src/modules/decklink/consumer_decklink.cpp
|
||||
@@ -794,7 +794,9 @@ protected:
|
||||
@@ -797,7 +797,9 @@ protected:
|
||||
return;
|
||||
|
||||
pthread_attr_init(&tattr);
|
||||
@@ -90,10 +90,10 @@ index f63529e..f4bec7d 100644
|
||||
endif()
|
||||
|
||||
diff --git a/src/modules/plusgpl/consumer_cbrts.c b/src/modules/plusgpl/consumer_cbrts.c
|
||||
index 03b67a7..629ba67 100644
|
||||
index 80d1db0..98d50e1 100644
|
||||
--- a/src/modules/plusgpl/consumer_cbrts.c
|
||||
+++ b/src/modules/plusgpl/consumer_cbrts.c
|
||||
@@ -913,9 +913,11 @@ static void start_output_thread(consumer_cbrts self)
|
||||
@@ -918,9 +918,11 @@ static void start_output_thread(consumer_cbrts self)
|
||||
pthread_attr_t thread_attributes;
|
||||
pthread_attr_init(&thread_attributes);
|
||||
priority.sched_priority = rtprio;
|
||||
@@ -107,10 +107,10 @@ index 03b67a7..629ba67 100644
|
||||
#endif
|
||||
pthread_attr_setscope(&thread_attributes, PTHREAD_SCOPE_SYSTEM);
|
||||
--
|
||||
2.51.0
|
||||
2.52.0
|
||||
|
||||
|
||||
From 6ef214d2320255e67a9731f7e147d36430d93889 Mon Sep 17 00:00:00 2001
|
||||
From 699268fd0dd95b7712476cc330365f84a84069a4 Mon Sep 17 00:00:00 2001
|
||||
From: Luc Schrijvers <begasus@gmail.com>
|
||||
Date: Thu, 6 Nov 2025 08:28:16 +0100
|
||||
Subject: Disable X11
|
||||
@@ -139,10 +139,10 @@ index 88b604b..1f08c35 100644
|
||||
const char *qt_qpa = getenv("QT_QPA_PLATFORM");
|
||||
if (!qt_qpa || strcmp(qt_qpa, "offscreen")) {
|
||||
--
|
||||
2.51.0
|
||||
2.52.0
|
||||
|
||||
|
||||
From 792e8a003b1de4b47636a4f38bb7baaa7b50569b Mon Sep 17 00:00:00 2001
|
||||
From 3e6e40c4ac7238e3adcc62cd453131928630a168 Mon Sep 17 00:00:00 2001
|
||||
From: Luc Schrijvers <begasus@gmail.com>
|
||||
Date: Thu, 6 Nov 2025 08:31:47 +0100
|
||||
Subject: Fix SDL module
|
||||
@@ -188,5 +188,5 @@ index 629c75b..0414b18 100644
|
||||
if (wm.subsystem == SDL_SYSWM_X11) {
|
||||
// Get the SDL window
|
||||
--
|
||||
2.51.0
|
||||
2.52.0
|
||||
|
||||
Reference in New Issue
Block a user