2023-04-21 20:32:07 +03:00
|
|
|
From: Dan Minor <dminor@mozilla.com>
|
2023-04-25 02:05:19 +03:00
|
|
|
Date: Tue, 1 Dec 2020 09:36:00 -0500
|
|
|
|
Subject: Bug 1654112 - Disable creating av1 encoder and decoder. r=ng
|
2023-04-20 06:26:29 +03:00
|
|
|
|
2023-04-25 02:05:19 +03:00
|
|
|
Differential Revision: https://phabricator.services.mozilla.com/D130089
|
|
|
|
Mercurial Revision: https://hg.mozilla.org/mozilla-central/rev/ef548d7758c7de6e78d38af299c2296bf9d20ec9
|
2023-04-20 06:26:29 +03:00
|
|
|
---
|
2023-04-25 02:05:19 +03:00
|
|
|
media/engine/internal_decoder_factory.cc | 2 ++
|
|
|
|
1 file changed, 2 insertions(+)
|
2023-04-20 06:26:29 +03:00
|
|
|
|
2023-04-25 02:05:19 +03:00
|
|
|
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);
|
2023-04-21 21:18:56 +03:00
|
|
|
|
2023-04-25 02:05:19 +03:00
|
|
|
+#if !defined(WEBRTC_MOZILLA_BUILD)
|
|
|
|
if (kDav1dIsIncluded) {
|
|
|
|
formats.push_back(SdpVideoFormat(cricket::kAv1CodecName));
|
|
|
|
formats.push_back(SdpVideoFormat(
|
|
|
|
cricket::kAv1CodecName,
|
|
|
|
{{kAV1FmtpProfile, AV1ProfileToString(AV1Profile::kProfile1).data()}}));
|
2023-04-21 21:18:56 +03:00
|
|
|
}
|
2023-04-25 02:05:19 +03:00
|
|
|
+#endif
|
2023-04-21 21:18:56 +03:00
|
|
|
|
2023-04-25 02:05:19 +03:00
|
|
|
return formats;
|
|
|
|
}
|
2023-04-20 06:26:29 +03:00
|
|
|
--
|
|
|
|
2.34.1
|
|
|
|
|