Bug 1173792: P2. Always seek audio to original seeking position. r=cpearce

There's no guarantee that the audio stream will have the same buffered ranges as the video track; which could lead to a stall.
It is up to the MediaDecoderStateMachine to ensure proper A/V sync following a sync
This commit is contained in:
Jean-Yves Avenard 2015-06-18 21:30:11 +10:00
parent c2988b9552
commit eae19ef27b

View File

@ -1354,7 +1354,6 @@ MediaFormatReader::OnVideoSeekCompleted(media::TimeUnit aTime)
if (HasAudio()) {
MOZ_ASSERT(mPendingSeekTime.isSome());
mPendingSeekTime.ref() = aTime;
DoAudioSeek();
} else {
mPendingSeekTime.reset();