Backout 184ef886365d, 4c6a6ac3a9d5, and 59857a435c3b on a CLOSED TREE

This commit is contained in:
Matthew Gregan
2013-06-28 16:55:35 +12:00
parent dc36461ac2
commit 3aeec3399b
30 changed files with 1 additions and 1745 deletions

View File

@@ -2533,12 +2533,8 @@ void MediaDecoderStateMachine::AdvanceFrame()
ScheduleStateMachine();
return;
}
MediaDecoder::FrameStatistics& frameStats = mDecoder->GetFrameStatistics();
frameStats.NotifyPresentedFrame();
mDecoder->GetFrameStatistics().NotifyPresentedFrame();
remainingTime = currentFrame->mEndTime - clock_time;
int64_t frameDuration = currentFrame->mEndTime - currentFrame->mTime;
double displayError = fabs(double(frameDuration - remainingTime) / USECS_PER_S);
frameStats.NotifyPlaybackJitter(displayError);
currentFrame = nullptr;
}