mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-26 14:22:01 +00:00
Bug 1065827 - Start MediaDecoder playback state in LOADING. r=cpearce
This commit is contained in:
parent
38b39635bc
commit
571d088f61
@ -437,7 +437,7 @@ MediaDecoder::MediaDecoder() :
|
|||||||
mReentrantMonitor("media.decoder"),
|
mReentrantMonitor("media.decoder"),
|
||||||
mIsDormant(false),
|
mIsDormant(false),
|
||||||
mIsExitingDormant(false),
|
mIsExitingDormant(false),
|
||||||
mPlayState(PLAY_STATE_PAUSED),
|
mPlayState(PLAY_STATE_LOADING),
|
||||||
mNextState(PLAY_STATE_PAUSED),
|
mNextState(PLAY_STATE_PAUSED),
|
||||||
mIgnoreProgressData(false),
|
mIgnoreProgressData(false),
|
||||||
mInfiniteStream(false),
|
mInfiniteStream(false),
|
||||||
@ -562,8 +562,6 @@ nsresult MediaDecoder::InitializeStateMachine(MediaDecoder* aCloneDonor)
|
|||||||
// set them now
|
// set them now
|
||||||
SetStateMachineParameters();
|
SetStateMachineParameters();
|
||||||
|
|
||||||
ChangeState(PLAY_STATE_LOADING);
|
|
||||||
|
|
||||||
return ScheduleStateMachineThread();
|
return ScheduleStateMachineThread();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user