diff options
author | Andreas Sturmlechner <asturm@gentoo.org> | 2023-06-11 00:23:26 +0200 |
---|---|---|
committer | Andreas Sturmlechner <asturm@gentoo.org> | 2023-06-11 00:23:26 +0200 |
commit | c769755bd61678a0720b66e30c0169cdb0cc0e6d (patch) | |
tree | ccf9e76b24bdc8128a1395fdafb461a1a331196e /media-libs/xine-lib/files | |
parent | net-misc/smb4k: drop 3.1.7 (diff) | |
download | gentoo-c769755bd61678a0720b66e30c0169cdb0cc0e6d.tar.gz gentoo-c769755bd61678a0720b66e30c0169cdb0cc0e6d.tar.bz2 gentoo-c769755bd61678a0720b66e30c0169cdb0cc0e6d.zip |
media-libs/xine-lib: drop 1.2.12-r4
Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
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; |