x265 patch for threadpool shutdown fix submited as:
authorGood Guy <[email protected]>
Mon, 1 Feb 2016 16:18:16 +0000 (09:18 -0700)
committerGood Guy <[email protected]>
Mon, 1 Feb 2016 16:18:16 +0000 (09:18 -0700)
  bug 241: fix theadpool shutdown
  https://bitbucket.org/multicoreware/x265/issues?status=new&status=open
updated download list

cinelerra-5.0/thirdparty/downloads.txt
cinelerra-5.0/thirdparty/src/x265.patch1 [new file with mode: 0644]

index 31dd8eeffcfa77582fef1e9b881bc708fe1488a2..b37d9f976fc17a1146d5f5afbd0187770d976d17 100644 (file)
@@ -27,4 +27,6 @@ http://tcpdiag.dl.sourceforge.net/project/lame/lame/3.99/lame-3.99.5.tar.gz
 http://dl.maptools.org/dl/libtiff/tiff-3.8.2.tar.gz
 http://hivelocity.dl.sourceforge.net/project/libuuid/libuuid-1.0.3.tar.gz
 ftp://ftp.videolan.org/pub/x264/snapshots/last_stable_x264.tar.bz2
+https://get.videolan.org/x265/x265_1.7.tar.gz
+http://ffmpeg.org/releases/ffmpeg-2.8.4.tar.bz2
 https://chromium.googlesource.com/webm/libvpx/+archive/cbecf57f3e0d85a7b7f97f3ab7c507f6fe640a93.tar.gz
diff --git a/cinelerra-5.0/thirdparty/src/x265.patch1 b/cinelerra-5.0/thirdparty/src/x265.patch1
new file mode 100644 (file)
index 0000000..dde859d
--- /dev/null
@@ -0,0 +1,14 @@
+--- a/source/encoder/encoder.cpp       2016-02-01 08:55:44.815838396 -0700
++++ b/source/encoder/encoder.cpp       2016-02-01 08:56:25.355766065 -0700
+@@ -318,7 +318,10 @@
+     }
+     if (m_threadPool)
+-        m_threadPool->stopWorkers();
++    {
++        for (int i = 0; i < m_numPools; i++)
++            m_threadPool[i].stopWorkers();
++    }
+ }
+ void Encoder::destroy()