Bug 1035056 - Only shutdown decoders on navigation for EME content. r=me CLOSED TREE

This commit is contained in:
Chris Pearce 2014-08-18 12:01:45 +12:00
parent 31a75b4662
commit 280c36f93f

View File

@ -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) {