| Index: media/base/eme_constants.h
|
| diff --git a/media/base/eme_constants.h b/media/base/eme_constants.h
|
| index 55ba254802ad65ffc9cbde37960386b46e309714..6d6399d60174ce060c331e2353a5f10bd9055488 100644
|
| --- a/media/base/eme_constants.h
|
| +++ b/media/base/eme_constants.h
|
| @@ -129,14 +129,15 @@
|
| // The configuration option is supported if both a distinctive identifier and
|
| // persistent state are available.
|
| IDENTIFIER_AND_PERSISTENCE_REQUIRED,
|
| - // The configuration option prevents use of hardware-secure codecs.
|
| - // This rule only has meaning on platforms that distinguish hardware-secure
|
| - // codecs (ie. Android).
|
| +#if defined(OS_ANDROID)
|
| + // The configuration option is supported if no hardware-secure codecs are used
|
| + // (as they would be for video if secure surfaces are enabled).
|
| SECURE_CODECS_NOT_ALLOWED,
|
| - // The configuration option is supported if hardware-secure codecs are used.
|
| - // This rule only has meaning on platforms that distinguish hardware-secure
|
| - // codecs (ie. Android).
|
| + // The configuration option is supported if only hardware-secure codecs are
|
| + // used. This implies that secure surfaces (hole-punching) are required for
|
| + // video.
|
| SECURE_CODECS_REQUIRED,
|
| +#endif // defined(OS_ANDROID)
|
| // The configuration option is supported without conditions.
|
| SUPPORTED,
|
| };
|
|
|