diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-21 11:44:51 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-21 11:44:51 +0000 |
commit | 9e3c08db40b8916968b9f30096c7be3f00ce9647 (patch) | |
tree | a68f146d7fa01f0134297619fbe7e33db084e0aa /third_party/libwebrtc/moz-patch-stack/0011.patch | |
parent | Initial commit. (diff) | |
download | thunderbird-9e3c08db40b8916968b9f30096c7be3f00ce9647.tar.xz thunderbird-9e3c08db40b8916968b9f30096c7be3f00ce9647.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/0011.patch')
-rw-r--r-- | third_party/libwebrtc/moz-patch-stack/0011.patch | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/third_party/libwebrtc/moz-patch-stack/0011.patch b/third_party/libwebrtc/moz-patch-stack/0011.patch new file mode 100644 index 0000000000..f1c49df481 --- /dev/null +++ b/third_party/libwebrtc/moz-patch-stack/0011.patch @@ -0,0 +1,26 @@ +From: Dan Minor <dminor@mozilla.com> +Date: Mon, 13 Aug 2018 08:34:00 -0400 +Subject: Bug 1376873 - Allow single channel opus; r=padenot + +Differential Revision: https://phabricator.services.mozilla.com/D7469 +Mercurial Revision: https://hg.mozilla.org/mozilla-central/rev/92a7c3eee9f0c80ffbf79fdab8f8f2b8f6bd7701 +--- + modules/audio_coding/codecs/opus/audio_encoder_opus.cc | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/modules/audio_coding/codecs/opus/audio_encoder_opus.cc b/modules/audio_coding/codecs/opus/audio_encoder_opus.cc +index 51b0fcd492..17e0e33b1d 100644 +--- a/modules/audio_coding/codecs/opus/audio_encoder_opus.cc ++++ b/modules/audio_coding/codecs/opus/audio_encoder_opus.cc +@@ -240,7 +240,7 @@ std::unique_ptr<AudioEncoder> AudioEncoderOpusImpl::MakeAudioEncoder( + absl::optional<AudioEncoderOpusConfig> AudioEncoderOpusImpl::SdpToConfig( + const SdpAudioFormat& format) { + if (!absl::EqualsIgnoreCase(format.name, "opus") || +- format.clockrate_hz != kRtpTimestampRateHz || format.num_channels != 2) { ++ format.clockrate_hz != kRtpTimestampRateHz) { + return absl::nullopt; + } + +-- +2.34.1 + |