Backout 184ef886365d, 4c6a6ac3a9d5, and 59857a435c3b on a CLOSED TREE
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user