mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 1134434 - Fix bustage on a CLOSED TREE - r=bustage
This commit is contained in:
parent
111df01373
commit
3b999ebf25
@ -3092,7 +3092,9 @@ void HTMLMediaElement::MetadataLoaded(const MediaInfo* aInfo,
|
|||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#ifdef MOZ_EME
|
||||||
DispatchEncrypted(aInfo->mCrypto.mInitData, aInfo->mCrypto.mType);
|
DispatchEncrypted(aInfo->mCrypto.mInitData, aInfo->mCrypto.mType);
|
||||||
|
#endif
|
||||||
}
|
}
|
||||||
|
|
||||||
// Expose the tracks to JS directly.
|
// Expose the tracks to JS directly.
|
||||||
|
@ -96,6 +96,7 @@ MediaSourceReader::IsWaitingMediaResources()
|
|||||||
bool
|
bool
|
||||||
MediaSourceReader::IsWaitingOnCDMResource()
|
MediaSourceReader::IsWaitingOnCDMResource()
|
||||||
{
|
{
|
||||||
|
#ifdef MOZ_EME
|
||||||
ReentrantMonitorAutoEnter mon(mDecoder->GetReentrantMonitor());
|
ReentrantMonitorAutoEnter mon(mDecoder->GetReentrantMonitor());
|
||||||
MOZ_ASSERT(!IsWaitingMediaResources());
|
MOZ_ASSERT(!IsWaitingMediaResources());
|
||||||
|
|
||||||
@ -106,6 +107,9 @@ MediaSourceReader::IsWaitingOnCDMResource()
|
|||||||
}
|
}
|
||||||
|
|
||||||
return mInfo.IsEncrypted() && !mCDMProxy;
|
return mInfo.IsEncrypted() && !mCDMProxy;
|
||||||
|
#else
|
||||||
|
return false;
|
||||||
|
#endif
|
||||||
}
|
}
|
||||||
|
|
||||||
size_t
|
size_t
|
||||||
|
Loading…
Reference in New Issue
Block a user