| Index: chromecast/media/cma/pipeline/audio_decoder_software_wrapper.cc
|
| diff --git a/chromecast/media/cma/pipeline/audio_decoder_software_wrapper.cc b/chromecast/media/cma/pipeline/audio_decoder_software_wrapper.cc
|
| index 4b15bcc532d54db65330edcfb7d1cc2638b26571..6aea10fb1a8360f88f38e66bbf0cff71a6d47549 100644
|
| --- a/chromecast/media/cma/pipeline/audio_decoder_software_wrapper.cc
|
| +++ b/chromecast/media/cma/pipeline/audio_decoder_software_wrapper.cc
|
| @@ -59,7 +59,7 @@ bool AudioDecoderSoftwareWrapper::SetConfig(const AudioConfig& config) {
|
| return true;
|
| }
|
|
|
| - if (config.is_encrypted || !CreateSoftwareDecoder(config))
|
| + if (config.is_encrypted() || !CreateSoftwareDecoder(config))
|
| return false;
|
|
|
| output_config_.codec = media::kCodecPCM;
|
| @@ -67,7 +67,7 @@ bool AudioDecoderSoftwareWrapper::SetConfig(const AudioConfig& config) {
|
| output_config_.channel_number = 2;
|
| output_config_.bytes_per_channel = 2;
|
| output_config_.samples_per_second = config.samples_per_second;
|
| - output_config_.is_encrypted = false;
|
| + output_config_.encryption_scheme = EncryptionScheme::unencrypted();
|
| return backend_decoder_->SetConfig(output_config_);
|
| }
|
|
|
|
|