Bug 1125469: Part3. Make sure we stop dropping frames from previous operation after seeking. r=mattwoodrow

This commit is contained in:
Jean-Yves Avenard 2015-02-09 23:29:01 +11:00
parent 0727bfba77
commit 1e96adcc55

View File

@ -765,6 +765,9 @@ MediaSourceReader::Seek(int64_t aTime, int64_t aIgnored /* Used only for ogg whi
{
ReentrantMonitorAutoEnter mon(mDecoder->GetReentrantMonitor());
mWaitingForSeekData = true;
mDropAudioBeforeThreshold = false;
mDropVideoBeforeThreshold = false;
mTimeThreshold = 0;
}
AttemptSeek();