Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 767602 Details for
Bug 835788
mail-client/thunderbird[system-av1]: fails to build with media-libs/dav1d-1.0.0
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Patch from comment #7 with adapted line numbers
thunderbird-91.7.0-dav1d-1.0.0.patch (text/plain), 1.37 KB, created by
Jan Breig
on 2022-03-22 22:10:44 UTC
(
hide
)
Description:
Patch from comment #7 with adapted line numbers
Filename:
MIME Type:
Creator:
Jan Breig
Created:
2022-03-22 22:10:44 UTC
Size:
1.37 KB
patch
obsolete
>diff --git a/dom/media/platforms/agnostic/DAV1DDecoder.cpp b/dom/media/platforms/agnostic/DAV1DDecoder.cpp >index 4118026c62..55ffbbebdf 100644 >--- a/dom/media/platforms/agnostic/DAV1DDecoder.cpp >+++ b/dom/media/platforms/agnostic/DAV1DDecoder.cpp >@@ -36,13 +36,8 @@ RefPtr<MediaDataDecoder::InitPromise> DAV1DDecoder::Init() { > } else if (mInfo.mDisplay.width >= 1024) { > decoder_threads = 4; > } >- settings.n_frame_threads = >+ settings.n_threads = > static_cast<int>(std::min(decoder_threads, GetNumberOfProcessors())); >- // There is not much improvement with more than 2 tile threads at least with >- // the content being currently served. The ideal number of tile thread would >- // much the tile count of the content. Maybe dav1d can help to do that in the >- // future. >- settings.n_tile_threads = 2; > > int res = dav1d_open(&mContext, &settings); > if (res < 0) { >diff --git a/image/decoders/nsAVIFDecoder.cpp b/image/decoders/nsAVIFDecoder.cpp >index 6481d0f10a..8aaa9cb6f1 100644 >--- a/image/decoders/nsAVIFDecoder.cpp >+++ b/image/decoders/nsAVIFDecoder.cpp >@@ -347,6 +347,7 @@ class Dav1dDecoder final : AVIFDecoderInterface { > Dav1dSettings settings; > dav1d_default_settings(&settings); > settings.all_layers = 0; >+ settings.max_frame_delay = 1; > // TODO: tune settings a la DAV1DDecoder for AV1 (Bug 1681816) > > return dav1d_open(&mContext, &settings);
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 835788
:
767557
|
767558
| 767602