diff options
Diffstat (limited to 'media-libs/xine-lib/files/xine-lib-1.2.12-dav1d-1.0.0.patch')
-rw-r--r-- | media-libs/xine-lib/files/xine-lib-1.2.12-dav1d-1.0.0.patch | 22 |
1 files changed, 0 insertions, 22 deletions
diff --git a/media-libs/xine-lib/files/xine-lib-1.2.12-dav1d-1.0.0.patch b/media-libs/xine-lib/files/xine-lib-1.2.12-dav1d-1.0.0.patch deleted file mode 100644 index cb3253cf99a5..000000000000 --- a/media-libs/xine-lib/files/xine-lib-1.2.12-dav1d-1.0.0.patch +++ /dev/null @@ -1,22 +0,0 @@ -https://bugs.gentoo.org/835791 -https://sourceforge.net/p/xine/tickets/11/ ---- a/src/video_dec/dav1d.c -+++ b/src/video_dec/dav1d.c -@@ -544,11 +544,17 @@ - - /* multithreading */ - ncpu = xine_cpu_count(); -+#if DAV1D_API_VERSION_MAJOR > 5 -+ settings.n_threads = ncpu + 1; -+ xprintf(stream->xine, XINE_VERBOSITY_DEBUG, LOG_MODULE ": " -+ "Using %d threads\n", settings.n_threads); -+#else - settings.n_frame_threads = (ncpu > 8) ? 4 : (ncpu < 2) ? 1 : ncpu/2; - settings.n_tile_threads = MAX(1, ncpu - settings.n_frame_threads + 1); - xprintf(stream->xine, XINE_VERBOSITY_DEBUG, LOG_MODULE ": " - "Using %d frame threads, %d tile threads\n", - settings.n_frame_threads, settings.n_tile_threads); -+#endif - - /* dri frame allocator */ - settings.allocator.cookie = this; |