Bug 580531 - Add video demuxing/decoding stats. r=kinetik sr=roc
This commit is contained in:
@@ -1369,6 +1369,7 @@ void nsBuiltinDecoderStateMachine::AdvanceFrame()
|
||||
// duration.
|
||||
RenderVideoFrame(currentFrame);
|
||||
}
|
||||
mDecoder->GetFrameStatistics().NotifyPresentedFrame();
|
||||
PRInt64 now = (TimeStamp::Now() - mPlayStartTime + mPlayDuration).ToMilliseconds();
|
||||
remainingTime = currentFrame->mEndTime - mStartTime - now;
|
||||
currentFrame = nsnull;
|
||||
|
||||
Reference in New Issue
Block a user