diff options
author | V3n3RiX <venerix@koprulu.sector> | 2023-06-11 14:17:10 +0100 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2023-06-11 14:17:10 +0100 |
commit | 5adfd733728a4f14df5665f4c2a604a7356e5f19 (patch) | |
tree | f2938c4a08576b45508b02481edfec55eac3ac8b /media-libs/xine-lib/files | |
parent | fbba40085f5d1591a67b49f5aa48b4071b7560f1 (diff) |
gentoo auto-resync : 11:06:2023 - 14:17:09
Diffstat (limited to 'media-libs/xine-lib/files')
-rw-r--r-- | media-libs/xine-lib/files/xine-lib-1.2.12-dav1d-1.0.0.patch | 22 | ||||
-rw-r--r-- | media-libs/xine-lib/files/xine-lib-1.2.12-fix-mmap-crash.patch | 15 |
2 files changed, 0 insertions, 37 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; diff --git a/media-libs/xine-lib/files/xine-lib-1.2.12-fix-mmap-crash.patch b/media-libs/xine-lib/files/xine-lib-1.2.12-fix-mmap-crash.patch deleted file mode 100644 index df5515f0495c..000000000000 --- a/media-libs/xine-lib/files/xine-lib-1.2.12-fix-mmap-crash.patch +++ /dev/null @@ -1,15 +0,0 @@ -https://sourceforge.net/p/xine/tickets/12/ -https://sourceforge.net/p/xine/xine-lib-1.2/ci/f56d70b45346ca9363a720724b0c2d00fc798988/tree/src/input/input_file.c?diff=d6e5d46a943257f0be171fb8ab16050810a21581 -https://bugs.gentoo.org/846398 - ---- a/src/input/input_file.c -+++ b/src/input/input_file.c -@@ -449,7 +449,7 @@ - #ifdef HAVE_MMAP - this->mmap_base = NULL; - do { -- uint8_t mmap_base; -+ uint8_t *mmap_base; - size_t tmp_size; - /* may cause truncation - if it does, DON'T mmap! */ - tmp_size = (size_t)sbuf.st_size; |