mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-16 23:05:42 +00:00
Bug 1035056 - Only shutdown decoders on navigation for EME content. r=me CLOSED TREE
This commit is contained in:
parent
31a75b4662
commit
280c36f93f
@ -3421,9 +3421,9 @@ void HTMLMediaElement::SuspendOrResumeElement(bool aPauseElement, bool aSuspendE
|
||||
if (mMediaKeys) {
|
||||
mMediaKeys->Shutdown();
|
||||
mMediaKeys = nullptr;
|
||||
}
|
||||
if (mDecoder) {
|
||||
ShutdownDecoder();
|
||||
if (mDecoder) {
|
||||
ShutdownDecoder();
|
||||
}
|
||||
}
|
||||
#endif
|
||||
if (mDecoder) {
|
||||
|
Loading…
Reference in New Issue
Block a user