mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-17 23:35:34 +00:00
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:
parent
c2988b9552
commit
eae19ef27b
@ -1354,7 +1354,6 @@ MediaFormatReader::OnVideoSeekCompleted(media::TimeUnit aTime)
|
||||
|
||||
if (HasAudio()) {
|
||||
MOZ_ASSERT(mPendingSeekTime.isSome());
|
||||
mPendingSeekTime.ref() = aTime;
|
||||
DoAudioSeek();
|
||||
} else {
|
||||
mPendingSeekTime.reset();
|
||||
|
Loading…
Reference in New Issue
Block a user