mirror of
https://github.com/roytam1/basilisk55.git
synced 2026-05-26 15:02:46 +00:00
import from UXP: Issue #2953 - Part 3: Assert that no error can occur while an internal seek is pending. (5491326f)
This commit is contained in:
@@ -1642,6 +1642,9 @@ MediaFormatReader::Update(TrackType aTrack)
|
||||
if (decoder.mError && !decoder.HasFatalError()) {
|
||||
decoder.mDecodePending = false;
|
||||
|
||||
MOZ_RELEASE_ASSERT(!decoder.HasInternalSeekPending(),
|
||||
"No error can occur while an internal seek is pending");
|
||||
|
||||
nsCString error;
|
||||
bool decodingFailedWithHardware =
|
||||
decoder.mError.ref() == NS_ERROR_DOM_MEDIA_DECODE_ERR &&
|
||||
|
||||
Reference in New Issue
Block a user