Merge "Clean up wvdrm log spam during movie playback"
This commit is contained in:
@@ -93,8 +93,6 @@ ssize_t WVCryptoPlugin::decrypt(bool secure, const uint8_t key[KEY_ID_SIZE],
|
|||||||
const void* srcPtr, const SubSample* subSamples,
|
const void* srcPtr, const SubSample* subSamples,
|
||||||
size_t numSubSamples, void* dstPtr,
|
size_t numSubSamples, void* dstPtr,
|
||||||
AString* errorDetailMsg) {
|
AString* errorDetailMsg) {
|
||||||
ALOGD("mode=%d, pattern:{encrypted=%d, skip=%d}", (int)mode, pattern.mEncryptBlocks, pattern.mSkipBlocks);
|
|
||||||
|
|
||||||
if (mode != kMode_Unencrypted && mode != kMode_AES_CTR) {
|
if (mode != kMode_Unencrypted && mode != kMode_AES_CTR) {
|
||||||
errorDetailMsg->setTo("Encryption mode is not supported by Widevine CDM.");
|
errorDetailMsg->setTo("Encryption mode is not supported by Widevine CDM.");
|
||||||
return kErrorUnsupportedCrypto;
|
return kErrorUnsupportedCrypto;
|
||||||
|
|||||||
Reference in New Issue
Block a user