| Index: media/base/audio_decoder_config.h
|
| diff --git a/media/base/audio_decoder_config.h b/media/base/audio_decoder_config.h
|
| index 266de82d605277543a3fec40b2c5a8faec165266..675eb87232ceb5cd722550e7fe02fb50b30ca068 100644
|
| --- a/media/base/audio_decoder_config.h
|
| +++ b/media/base/audio_decoder_config.h
|
| @@ -87,6 +87,12 @@ class MEDIA_EXPORT AudioDecoderConfig {
|
| return encryption_scheme_;
|
| }
|
|
|
| + // Sets the config to be encrypted or not encrypted manually. This can be
|
| + // useful for decryptors that decrypts an encrypted stream to a clear stream,
|
| + // or for decoder selectors that wants to select decrypting decoders instead
|
| + // of clear decoders.
|
| + void SetIsEncrypted(bool is_encrypted);
|
| +
|
| private:
|
| AudioCodec codec_;
|
| SampleFormat sample_format_;
|
|
|