Bug 1312594: Do not clear resource when error occurs. r=jwwang
MozReview-Commit-ID: EFrURgSYvdb
This commit is contained in:
@@ -4396,9 +4396,6 @@ void HTMLMediaElement::DecodeError(const MediaResult& aError)
|
||||
if (mDecoder) {
|
||||
ShutdownDecoder();
|
||||
}
|
||||
RemoveMediaElementFromURITable();
|
||||
mLoadingSrc = nullptr;
|
||||
mMediaSource = nullptr;
|
||||
AudioTracks()->EmptyTracks();
|
||||
VideoTracks()->EmptyTracks();
|
||||
if (mIsLoadingFromSourceChildren) {
|
||||
|
||||
Reference in New Issue
Block a user