diff options
author | Slávek Banko <slavek.banko@axis.cz> | 2022-11-15 17:09:41 +0100 |
---|---|---|
committer | Slávek Banko <slavek.banko@axis.cz> | 2022-11-15 17:09:41 +0100 |
commit | 0d43adafed4ce0fa22988f2ff8948f8f64d811a3 (patch) | |
tree | a15c8b9af137b41833b5a51a4da88ea6478d09fa /arch/tde-deps/xine-lib/010-xine-lib-dav1d-1.0.0-support.patch | |
parent | 9ad10a881e3df75b587767eb5cc78b2ea840316a (diff) | |
download | tde-packaging-0d43adafed4ce0fa22988f2ff8948f8f64d811a3.tar.gz tde-packaging-0d43adafed4ce0fa22988f2ff8948f8f64d811a3.zip |
ArchLinux: Add powerpc64le to architectures.
Cleanup some unnecessary dependencies.
Add pkgbuilds for dependencies that
are not available on archlinuxpower.org.
Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
Diffstat (limited to 'arch/tde-deps/xine-lib/010-xine-lib-dav1d-1.0.0-support.patch')
-rw-r--r-- | arch/tde-deps/xine-lib/010-xine-lib-dav1d-1.0.0-support.patch | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/arch/tde-deps/xine-lib/010-xine-lib-dav1d-1.0.0-support.patch b/arch/tde-deps/xine-lib/010-xine-lib-dav1d-1.0.0-support.patch new file mode 100644 index 000000000..aa0be9eef --- /dev/null +++ b/arch/tde-deps/xine-lib/010-xine-lib-dav1d-1.0.0-support.patch @@ -0,0 +1,28 @@ +--- a/ChangeLog ++++ b/ChangeLog +@@ -1,3 +1,5 @@ ++ * Add dav1d 1.0.0 support. ++ + xine-lib (1.2.12) 2022-03-09 + * Add string tree library (generic info parser). + * Add OpenSL ES audio output plugin. +--- 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; |