Report analog output capabilities
[ Merge of http://go/wvgerrit/41840 ] Bug: 69867619 Test: WV unit/integration tests Playback using netflix and play movies on Taimen Change-Id: I49d0dd9ae12322eecc80efb8cb744419c85e8ae5
This commit is contained in:
@@ -2764,6 +2764,19 @@ CdmResponseType CryptoSession::CopyOldUsageEntry(
|
||||
return NO_ERROR;
|
||||
}
|
||||
|
||||
bool CryptoSession::GetAnalogOutputCapabilities(bool* can_support_output,
|
||||
bool* can_disable_output,
|
||||
bool* can_support_cgms_a) {
|
||||
LOGV("GetAnalogOutputCapabilities: id=%ld", (uint32_t)oec_session_id_);
|
||||
uint32_t flags = OEMCrypto_GetAnalogOutputFlags(requested_security_level_);
|
||||
|
||||
if ((flags & OEMCrypto_Unknown_Analog_Output) != 0) return false;
|
||||
*can_support_cgms_a = flags & OEMCrypto_Supports_CGMS_A;
|
||||
*can_support_output = flags & OEMCrypto_Supports_Analog_Output;
|
||||
*can_disable_output = flags & OEMCrypto_Can_Disable_Analog_Ouptput;
|
||||
return true;
|
||||
}
|
||||
|
||||
CdmResponseType CryptoSession::AddSubSession(
|
||||
const std::string& sub_session_key_id,
|
||||
const std::string& group_master_key_id) {
|
||||
|
||||
Reference in New Issue
Block a user