Skip to content
This repository has been archived by the owner on Jun 20, 2023. It is now read-only.

Commit

Permalink
Reset parser state on append data error
Browse files Browse the repository at this point in the history
  • Loading branch information
ferjm committed Dec 21, 2017
1 parent c971536 commit dbdadaa
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions gecko-media/gecko/glue/SourceBuffer.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -160,6 +160,7 @@ SourceBuffer::AppendDataErrored(const MediaResult& aError,
// or append was aborted and abort() has handled all the events.
break;
default:
ResetParserState();
(*aErrorCb)(aErrorCbContext, uint32_t(NS_ERROR_DOM_MEDIA_CANCELED));
break;
}
Expand Down

0 comments on commit dbdadaa

Please sign in to comment.