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..dc8de2d9863ec1018d2a94911233b8174c857728 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(false); |
halliwell
2016/01/13 03:29:41
another example of 'false' ... not instantly reada
dougsteed
2016/02/09 22:58:53
Done.
|
return backend_decoder_->SetConfig(output_config_); |
} |