Backed out changeset aebe859551b3 (bug 1065827) for perma failures in m2 tests on a CLOSED TREE

This commit is contained in:
Carsten "Tomcat" Book 2014-11-06 14:59:44 +01:00
Родитель b645513227
Коммит 4cbd3e2588
1 изменённых файлов: 3 добавлений и 1 удалений

Просмотреть файл

@ -437,7 +437,7 @@ MediaDecoder::MediaDecoder() :
mReentrantMonitor("media.decoder"), mReentrantMonitor("media.decoder"),
mIsDormant(false), mIsDormant(false),
mIsExitingDormant(false), mIsExitingDormant(false),
mPlayState(PLAY_STATE_LOADING), mPlayState(PLAY_STATE_PAUSED),
mNextState(PLAY_STATE_PAUSED), mNextState(PLAY_STATE_PAUSED),
mIgnoreProgressData(false), mIgnoreProgressData(false),
mInfiniteStream(false), mInfiniteStream(false),
@ -562,6 +562,8 @@ nsresult MediaDecoder::InitializeStateMachine(MediaDecoder* aCloneDonor)
// set them now // set them now
SetStateMachineParameters(); SetStateMachineParameters();
ChangeState(PLAY_STATE_LOADING);
return ScheduleStateMachineThread(); return ScheduleStateMachineThread();
} }