Index: media/filters/source_buffer_stream.cc |
diff --git a/media/filters/source_buffer_stream.cc b/media/filters/source_buffer_stream.cc |
index a7d3ecf1f0a86eced8aa80623a3d46c81afc553c..5da816000477d0bfa91943008a8ba1b052ae1d2f 100644 |
--- a/media/filters/source_buffer_stream.cc |
+++ b/media/filters/source_buffer_stream.cc |
@@ -1346,21 +1346,6 @@ bool SourceBufferStream::UpdateAudioConfig(const AudioDecoderConfig& config) { |
return false; |
} |
- if (audio_configs_[0].samples_per_second() != config.samples_per_second()) { |
- MEDIA_LOG(log_cb_) << "Audio sample rate changes not allowed."; |
- return false; |
- } |
- |
- if (audio_configs_[0].channel_layout() != config.channel_layout()) { |
- MEDIA_LOG(log_cb_) << "Audio channel layout changes not allowed."; |
- return false; |
- } |
- |
- if (audio_configs_[0].bits_per_channel() != config.bits_per_channel()) { |
- MEDIA_LOG(log_cb_) << "Audio bits per channel changes not allowed."; |
- return false; |
- } |
- |
if (audio_configs_[0].is_encrypted() != config.is_encrypted()) { |
MEDIA_LOG(log_cb_) << "Audio encryption changes not allowed."; |
return false; |