зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1109437 - Schedule the state machine thread in MediaSourceDecoder::Load. r=cpearce
This is necessary to get the state machine moving after it's initialized. MediaDecoder::Load does this, but it looks like we missed this in the override. So the current code relies on the ScheduleStateMachine call at the end of TrackBuffer::AppendData to get things rolling. We're going to be removing that call, so we need to fix this.
This commit is contained in:
Родитель
17a26db299
Коммит
05e1250b67
|
@ -66,8 +66,7 @@ MediaSourceDecoder::Load(nsIStreamListener**, MediaDecoder*)
|
|||
NS_ENSURE_SUCCESS(rv, rv);
|
||||
|
||||
SetStateMachineParameters();
|
||||
|
||||
return NS_OK;
|
||||
return ScheduleStateMachineThread();
|
||||
}
|
||||
|
||||
nsresult
|
||||
|
|
Загрузка…
Ссылка в новой задаче