Bug 1134434 - Fix bustage on a CLOSED TREE - r=bustage

This commit is contained in:
Edwin Flores 2015-03-23 16:44:20 +13:00
parent 111df01373
commit 3b999ebf25
2 changed files with 6 additions and 0 deletions

View File

@ -3092,7 +3092,9 @@ void HTMLMediaElement::MetadataLoaded(const MediaInfo* aInfo,
return;
}
#ifdef MOZ_EME
DispatchEncrypted(aInfo->mCrypto.mInitData, aInfo->mCrypto.mType);
#endif
}
// Expose the tracks to JS directly.

View File

@ -96,6 +96,7 @@ MediaSourceReader::IsWaitingMediaResources()
bool
MediaSourceReader::IsWaitingOnCDMResource()
{
#ifdef MOZ_EME
ReentrantMonitorAutoEnter mon(mDecoder->GetReentrantMonitor());
MOZ_ASSERT(!IsWaitingMediaResources());
@ -106,6 +107,9 @@ MediaSourceReader::IsWaitingOnCDMResource()
}
return mInfo.IsEncrypted() && !mCDMProxy;
#else
return false;
#endif
}
size_t