зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1298217. Part 9 - Assert |mState == DECODER_STATE_DECODING| in MaybeStartBuffering() which is only called in the DECODER_STATE_DECODING case of RunStateMachine(). r=kaku
MozReview-Commit-ID: KLz8CpxDz71 --HG-- extra : rebase_source : 5ceea28dce4772bbd591f6d52b868c42dec7ca70
This commit is contained in:
Родитель
caab92744a
Коммит
17a06a9459
|
@ -976,9 +976,9 @@ void
|
|||
MediaDecoderStateMachine::MaybeStartBuffering()
|
||||
{
|
||||
MOZ_ASSERT(OnTaskQueue());
|
||||
MOZ_ASSERT(mState == DECODER_STATE_DECODING);
|
||||
|
||||
if (mState == DECODER_STATE_DECODING &&
|
||||
mPlayState == MediaDecoder::PLAY_STATE_PLAYING &&
|
||||
if (mPlayState == MediaDecoder::PLAY_STATE_PLAYING &&
|
||||
mResource->IsExpectingMoreData()) {
|
||||
bool shouldBuffer;
|
||||
if (mReader->UseBufferingHeuristics()) {
|
||||
|
|
Загрузка…
Ссылка в новой задаче