Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 770948 Details for
Bug 835838
media-libs/xine-lib-1.2.12-r1: stabilisation
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
support_dav1d_1.0.0.patch
support_dav1d_1.0.0.patch (text/plain), 1.23 KB, created by
Fitzcarraldo
on 2022-04-15 22:28:10 UTC
(
hide
)
Description:
support_dav1d_1.0.0.patch
Filename:
MIME Type:
Creator:
Fitzcarraldo
Created:
2022-04-15 22:28:10 UTC
Size:
1.23 KB
patch
obsolete
>From b0d8e56959af72e9ece0a44d746231ac80b85de9 Mon Sep 17 00:00:00 2001 >From: Petri Hintukainen <phintuka@users.sourceforge.net> >Date: Thu, 24 Mar 2022 19:19:19 +0200 >Subject: [PATCH] dav1d 1.0.0 support > >https://sourceforge.net/p/xine/tickets/11/ >--- > ChangeLog | 2 ++ > src/video_dec/dav1d.c | 6 ++++++ > 2 files changed, 8 insertions(+) > >diff --git a/src/video_dec/dav1d.c b/src/video_dec/dav1d.c >index 06187295c..187b357cc 100644 >--- a/src/video_dec/dav1d.c >+++ b/src/video_dec/dav1d.c >@@ -544,11 +544,17 @@ static video_decoder_t *_open_plugin(video_decoder_class_t *class_gen, xine_stre > > /* 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;
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 835838
:
768002
|
768003
|
768548
|
768549
| 770948