Index: media/filters/source_buffer_stream.cc |
diff --git a/media/filters/source_buffer_stream.cc b/media/filters/source_buffer_stream.cc |
index fdaa63bf73a706fe16288cc491abaec616324cd3..89281d65bb4288b29a7d748e88f5c35517d08a1e 100644 |
--- a/media/filters/source_buffer_stream.cc |
+++ b/media/filters/source_buffer_stream.cc |
@@ -1352,21 +1352,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; |