summaryrefslogtreecommitdiffstats
path: root/components/cdm/renderer/widevine_key_systems.cc
diff options
context:
space:
mode:
Diffstat (limited to 'components/cdm/renderer/widevine_key_systems.cc')
-rw-r--r--components/cdm/renderer/widevine_key_systems.cc4
1 files changed, 4 insertions, 0 deletions
diff --git a/components/cdm/renderer/widevine_key_systems.cc b/components/cdm/renderer/widevine_key_systems.cc
index 037df1b..ec38ab6 100644
--- a/components/cdm/renderer/widevine_key_systems.cc
+++ b/components/cdm/renderer/widevine_key_systems.cc
@@ -29,6 +29,8 @@ static std::string GetDirectParentName(std::string name) {
void AddWidevineWithCodecs(
WidevineCdmType widevine_cdm_type,
SupportedCodecs supported_codecs,
+ media::EmeRobustness max_audio_robustness,
+ media::EmeRobustness max_video_robustness,
media::EmeSessionTypeSupport persistent_license_support,
media::EmeSessionTypeSupport persistent_release_message_support,
media::EmeFeatureSupport persistent_state_support,
@@ -66,6 +68,8 @@ void AddWidevineWithCodecs(
info.supported_init_data_types |= media::EME_INIT_DATA_TYPE_CENC;
#endif // defined(USE_PROPRIETARY_CODECS)
+ info.max_audio_robustness = max_audio_robustness;
+ info.max_video_robustness = max_video_robustness;
info.persistent_license_support = persistent_license_support;
info.persistent_release_message_support = persistent_release_message_support;
info.persistent_state_support = persistent_state_support;