Use HDCP capability with requested security level
Merge of http://go/wvgerrit/13750 in the Widevine repo. (titled: Add HDCP Capacity to the static adpater) Updates CryptoSession to use get the HDCP capability from the oemcrypto with requested security level. Change-Id: I2338a3f33d0fbe9fe43eb6bf1fe92bf5402f62d6
This commit is contained in:
@@ -1005,7 +1005,8 @@ bool CryptoSession::GetHdcpCapabilities(OemCryptoHdcpVersion* current_version,
|
|||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
OEMCrypto_HDCP_Capability current, max;
|
OEMCrypto_HDCP_Capability current, max;
|
||||||
OEMCryptoResult status = OEMCrypto_GetHDCPCapability(¤t, &max);
|
OEMCryptoResult status = OEMCrypto_GetHDCPCapability(
|
||||||
|
requested_security_level_, ¤t, &max);
|
||||||
|
|
||||||
if (OEMCrypto_SUCCESS != status) {
|
if (OEMCrypto_SUCCESS != status) {
|
||||||
LOGW("OEMCrypto_GetHDCPCapability fails with %d", status);
|
LOGW("OEMCrypto_GetHDCPCapability fails with %d", status);
|
||||||
|
|||||||
Reference in New Issue
Block a user