| Index: media/base/video_decoder_config.h
|
| diff --git a/media/base/video_decoder_config.h b/media/base/video_decoder_config.h
|
| index 2d3d3fe972930850811c0e7717b41e6f621bf22d..3ed8d4ce5646fcc4b7b51f5f17ff948f61c57d4c 100644
|
| --- a/media/base/video_decoder_config.h
|
| +++ b/media/base/video_decoder_config.h
|
| @@ -119,6 +119,12 @@ class MEDIA_EXPORT VideoDecoderConfig {
|
| void set_hdr_metadata(const HDRMetadata& hdr_metadata);
|
| base::Optional<HDRMetadata> hdr_metadata() const;
|
|
|
| + // 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:
|
| VideoCodec codec_;
|
| VideoCodecProfile profile_;
|
|
|