| Index: media/filters/source_buffer_stream.cc
|
| diff --git a/media/filters/source_buffer_stream.cc b/media/filters/source_buffer_stream.cc
|
| index 05f23379ddcd07a9cf365ba6d8653ecedd2ecd62..e03a8c38ab8e92d920fc73ac501b2ca38d67af38 100644
|
| --- a/media/filters/source_buffer_stream.cc
|
| +++ b/media/filters/source_buffer_stream.cc
|
| @@ -1476,8 +1476,7 @@
|
| return false;
|
| }
|
|
|
| - if (!audio_configs_[0].encryption_scheme().Matches(
|
| - config.encryption_scheme())) {
|
| + if (audio_configs_[0].is_encrypted() != config.is_encrypted()) {
|
| MEDIA_LOG(ERROR, media_log_) << "Audio encryption changes not allowed.";
|
| return false;
|
| }
|
| @@ -1508,8 +1507,7 @@
|
| return false;
|
| }
|
|
|
| - if (!video_configs_[0].encryption_scheme().Matches(
|
| - config.encryption_scheme())) {
|
| + if (video_configs_[0].is_encrypted() != config.is_encrypted()) {
|
| MEDIA_LOG(ERROR, media_log_) << "Video encryption changes not allowed.";
|
| return false;
|
| }
|
|
|