| Index: media/filters/source_buffer_stream.cc
|
| diff --git a/media/filters/source_buffer_stream.cc b/media/filters/source_buffer_stream.cc
|
| index 471ae384e353741144a6fef98bbff0ae53d8ec02..f6cb9d1ca7a0faae2ccf29d120e698d930787b34 100644
|
| --- a/media/filters/source_buffer_stream.cc
|
| +++ b/media/filters/source_buffer_stream.cc
|
| @@ -1580,12 +1580,6 @@ bool SourceBufferStream::UpdateAudioConfig(const AudioDecoderConfig& config) {
|
| return false;
|
| }
|
|
|
| - if (!audio_configs_[0].encryption_scheme().Matches(
|
| - config.encryption_scheme())) {
|
| - MEDIA_LOG(ERROR, media_log_) << "Audio encryption changes not allowed.";
|
| - return false;
|
| - }
|
| -
|
| // Check to see if the new config matches an existing one.
|
| for (size_t i = 0; i < audio_configs_.size(); ++i) {
|
| if (config.Matches(audio_configs_[i])) {
|
| @@ -1612,12 +1606,6 @@ bool SourceBufferStream::UpdateVideoConfig(const VideoDecoderConfig& config) {
|
| return false;
|
| }
|
|
|
| - if (!video_configs_[0].encryption_scheme().Matches(
|
| - config.encryption_scheme())) {
|
| - MEDIA_LOG(ERROR, media_log_) << "Video encryption changes not allowed.";
|
| - return false;
|
| - }
|
| -
|
| // Check to see if the new config matches an existing one.
|
| for (size_t i = 0; i < video_configs_.size(); ++i) {
|
| if (config.Matches(video_configs_[i])) {
|
|
|