Bug 1316650 - Changes the NS_WARNING to an EME_LOG r?cpearce
MozReview-Commit-ID: 2dDipFVr2Ip
--- a/dom/media/gmp/GMPCDMProxy.cpp
+++ b/dom/media/gmp/GMPCDMProxy.cpp
@@ -757,17 +757,17 @@ GMPCDMProxy::DecryptJob::PostResult(Decr
NS_WARNING("CDM returned incorrect number of decrypted bytes");
}
if (aResult == Ok) {
UniquePtr<MediaRawDataWriter> writer(mSample->CreateWriter());
PodCopy(writer->Data(),
aDecryptedData.Elements(),
std::min<size_t>(aDecryptedData.Length(), mSample->Size()));
} else if (aResult == NoKeyErr) {
- NS_WARNING("CDM returned NoKeyErr");
+ EME_LOG("CDM returned NoKeyErr");
// We still have the encrypted sample, so we can re-enqueue it to be
// decrypted again once the key is usable again.
} else {
nsAutoCString str("CDM returned decode failure DecryptStatus=");
str.AppendInt(aResult);
NS_WARNING(str.get());
}
mPromise.Resolve(DecryptResult(aResult, mSample), __func__);