diff options
Diffstat (limited to 'third_party/libwebrtc/moz-patch-stack/0010.patch')
-rw-r--r-- | third_party/libwebrtc/moz-patch-stack/0010.patch | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/third_party/libwebrtc/moz-patch-stack/0010.patch b/third_party/libwebrtc/moz-patch-stack/0010.patch new file mode 100644 index 0000000000..a3740a83c9 --- /dev/null +++ b/third_party/libwebrtc/moz-patch-stack/0010.patch @@ -0,0 +1,23 @@ +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; + } + |