git » mlt.git » commit b2e56d6

Fix ffmpeg auto multithreading (FS#57097)

author Antonio Rojas
2018-01-15 08:06:12 UTC
committer Antonio Rojas
2018-01-15 08:06:12 UTC
parent 8c0ed194fd8652a8a495196c0848a0b0810f4cce

Fix ffmpeg auto multithreading (FS#57097)

PKGBUILD +8 -4

diff --git a/PKGBUILD b/PKGBUILD
index 8ef9623..80c485c 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -9,7 +9,7 @@
 pkgbase=mlt
 pkgname=(mlt mlt-python-bindings)
 pkgver=6.4.1
-pkgrel=8
+pkgrel=9
 pkgdesc="An open source multimedia framework"
 arch=(x86_64)
 url="http://www.mltframework.org"
@@ -17,10 +17,12 @@ license=(GPL)
 makedepends=(ladspa frei0r-plugins libdv sdl_image libsamplerate sox ffmpeg vid.stab qt5-svg jack libexif python2 swig movit eigen)
 source=($pkgname-$pkgver.tar.gz::"https://github.com/mltframework/mlt/archive/v$pkgver.tar.gz"
         kdenlive-crash-on-exit.patch::"https://github.com/mltframework/mlt/commit/a3188e30.patch"
-        mlt-glibc-2.26.patch)
+        mlt-glibc-2.26.patch
+        mlt-multithread.patch::"https://github.com/mltframework/mlt/commit/0f8e807a.patch")
 sha256sums=('87583af552695b2235f4ee3fc1e645d69e31702b109331d7e8785fb180cfa382'
-            '537562790e64d818c8ca9c410632662b6cd383335198ba36f3909e10217b14d7'
-            '1bb3d01264033e194887897c158931299d60100b030f2cfe4b8a69af8d3110fa')
+            '53e1f7c343ac8b9eb1b1bfa4aad2fa11f2bdf166e8d8dc72880cc68b41354fd5'
+            '1bb3d01264033e194887897c158931299d60100b030f2cfe4b8a69af8d3110fa'
+            '8a240062fcb474b3796dea5a3dd6bcb098675e775c5714166b9031e90b9ae4b5')
 
 prepare() {
   cd $pkgname-$pkgver
@@ -28,6 +30,8 @@ prepare() {
   patch -p1 -i ../kdenlive-crash-on-exit.patch
 # Fix build with glibc 2.26
   patch -p1 -i ../mlt-glibc-2.26.patch
+# Fix ffmpeg multi-threading
+  patch -p1 -i ../mlt-multithread.patch
 }
 
 build() {