From 1ff5236aaecd1cec7dd90c7f56946b8c03a6afed Mon Sep 17 00:00:00 2001 From: Matthew Gregan Date: Fri, 26 Feb 2010 15:09:46 -0800 Subject: [PATCH] Backed out changeset d7a32460bb32 --- content/media/ogg/nsOggDecoder.cpp | 6 ------ 1 file changed, 6 deletions(-) diff --git a/content/media/ogg/nsOggDecoder.cpp b/content/media/ogg/nsOggDecoder.cpp index c00c7df75bd3..805e1166c5d7 100644 --- a/content/media/ogg/nsOggDecoder.cpp +++ b/content/media/ogg/nsOggDecoder.cpp @@ -936,12 +936,6 @@ void nsOggDecodeStateMachine::PlayFrame() { time = hwtime < 0.0 ? (TimeStamp::Now() - mPlayStartTime - mPauseDuration).ToSeconds() : hwtime; - // Resynchronize the system clock against the audio clock. - if (hwtime >= 0.0) { - mPlayStartTime = TimeStamp::Now(); - mPlayStartTime -= TimeDuration::FromMilliseconds(hwtime * 1000.0); - mPauseDuration = TimeDuration(0); - } // Is it time for the next frame? Using an integer here avoids f.p. // rounding errors that can cause multiple 0ms waits (Bug 495352) PRInt64 wait = PRInt64((frame->mTime - time)*1000);