Bug 1298217. Part 4 - Remove the call to DispatchDecodeTasksIfNeeded() from CheckIfDecodeComplete() because we've decoded all samples. r=kaku

MozReview-Commit-ID: 22qa8K8j5zb
This commit is contained in:
JW Wang committed 2016-08-26 06:08:54 +12:00
1 parent b5e722f81e
commit f4601d5ce9
1 file changed
-1
-1
View File
@@ -833,7 +833,6 @@ MediaDecoderStateMachine::CheckIfDecodeComplete()
// We've finished decoding all active streams,
// so move to COMPLETED state.
SetState(DECODER_STATE_COMPLETED);
DispatchDecodeTasksIfNeeded();
ScheduleStateMachine();
}
DECODER_LOG("CheckIfDecodeComplete %scompleted",