| Index: media/video/video_decode_accelerator.h
|
| diff --git a/media/video/video_decode_accelerator.h b/media/video/video_decode_accelerator.h
|
| index 7e3c940d637269499297e724c3353b8cf024bd8c..6f072684161cc15486f6e3cbe405978a753465a5 100644
|
| --- a/media/video/video_decode_accelerator.h
|
| +++ b/media/video/video_decode_accelerator.h
|
| @@ -14,6 +14,7 @@
|
| #include "base/memory/weak_ptr.h"
|
| #include "media/base/bitstream_buffer.h"
|
| #include "media/base/cdm_context.h"
|
| +#include "media/base/encryption_scheme.h"
|
| #include "media/base/surface_manager.h"
|
| #include "media/base/video_decoder_config.h"
|
| #include "media/video/picture.h"
|
| @@ -129,12 +130,13 @@ class MEDIA_EXPORT VideoDecodeAccelerator {
|
| ~Config();
|
|
|
| std::string AsHumanReadableString() const;
|
| + bool is_encrypted() const { return encryption_scheme.is_encrypted(); }
|
|
|
| // The video codec and profile.
|
| VideoCodecProfile profile = VIDEO_CODEC_PROFILE_UNKNOWN;
|
|
|
| - // Whether the stream is encrypted.
|
| - bool is_encrypted = false;
|
| + // Whether the stream is encrypted, and, if so, the scheme used.
|
| + EncryptionScheme encryption_scheme;
|
|
|
| // The CDM that the VDA should use to decode encrypted streams. Must be
|
| // set to a valid ID if |is_encrypted|.
|
|
|