Bug 1189506. Move setting of mStateComputedTime to OneIteration so it's near setting mProcessedTime. r=karlt

--HG--
extra : commitid : HBgr3Azbapn
extra : rebase_source : 79ef722317501204538432e85524ab1907d769f6
This commit is contained in:
Robert O'Callahan 2015-09-05 00:41:15 +12:00
parent 4b25e25cff
commit ebcc8535cb

View File

@ -1114,8 +1114,6 @@ MediaStreamGraphImpl::UpdateGraph(GraphTime aEndBlockingDecisions)
aEndBlockingDecisions == mStateComputedTime) {
EnsureNextIteration();
}
mStateComputedTime = aEndBlockingDecisions;
}
void
@ -1258,7 +1256,10 @@ MediaStreamGraphImpl::OneIteration(GraphTime aStateEnd)
GraphTime stateEnd = std::min(aStateEnd, mEndTime);
UpdateGraph(stateEnd);
mStateComputedTime = stateEnd;
Process(stateFrom, stateEnd);
mProcessedTime = stateEnd;
UpdateCurrentTimeForStreams(stateFrom, stateEnd);