diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-07 17:32:43 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-07 17:32:43 +0000 |
commit | 6bf0a5cb5034a7e684dcc3500e841785237ce2dd (patch) | |
tree | a68f146d7fa01f0134297619fbe7e33db084e0aa /third_party/libwebrtc/moz-patch-stack/0038.patch | |
parent | Initial commit. (diff) | |
download | thunderbird-6bf0a5cb5034a7e684dcc3500e841785237ce2dd.tar.xz thunderbird-6bf0a5cb5034a7e684dcc3500e841785237ce2dd.zip |
Adding upstream version 1:115.7.0.upstream/1%115.7.0upstream
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'third_party/libwebrtc/moz-patch-stack/0038.patch')
-rw-r--r-- | third_party/libwebrtc/moz-patch-stack/0038.patch | 32 |
1 files changed, 32 insertions, 0 deletions
diff --git a/third_party/libwebrtc/moz-patch-stack/0038.patch b/third_party/libwebrtc/moz-patch-stack/0038.patch new file mode 100644 index 0000000000..e7f9b54d36 --- /dev/null +++ b/third_party/libwebrtc/moz-patch-stack/0038.patch @@ -0,0 +1,32 @@ +From: Dan Minor <dminor@mozilla.com> +Date: Tue, 1 Dec 2020 09:36:00 -0500 +Subject: Bug 1654112 - Disable creating av1 encoder and decoder. r=ng + +Differential Revision: https://phabricator.services.mozilla.com/D130089 +Mercurial Revision: https://hg.mozilla.org/mozilla-central/rev/ef548d7758c7de6e78d38af299c2296bf9d20ec9 +--- + media/engine/internal_decoder_factory.cc | 2 ++ + 1 file changed, 2 insertions(+) + +diff --git a/media/engine/internal_decoder_factory.cc b/media/engine/internal_decoder_factory.cc +index e761fd60c8..001c666313 100644 +--- a/media/engine/internal_decoder_factory.cc ++++ b/media/engine/internal_decoder_factory.cc +@@ -49,12 +49,14 @@ std::vector<SdpVideoFormat> InternalDecoderFactory::GetSupportedFormats() + for (const SdpVideoFormat& h264_format : SupportedH264DecoderCodecs()) + formats.push_back(h264_format); + ++#if !defined(WEBRTC_MOZILLA_BUILD) + if (kDav1dIsIncluded) { + formats.push_back(SdpVideoFormat(cricket::kAv1CodecName)); + formats.push_back(SdpVideoFormat( + cricket::kAv1CodecName, + {{kAV1FmtpProfile, AV1ProfileToString(AV1Profile::kProfile1).data()}})); + } ++#endif + + return formats; + } +-- +2.34.1 + |