mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07: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
18d1361c05
commit
7c01b18d26
@ -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