Bug 1509956 - Remove incorrect rebasing result in MSDM::loopingDecoding r=jya
authoralwu <alwu@mozilla.com>
Tue, 27 Nov 2018 16:00:22 +0000
changeset 507559 708326aa806a5a2976ed2eb42ced1dbdfaa2a669
parent 507558 783d4757566b461b718588a0b96a8ed016905595
child 507560 f78fcb8e46d46dc15b1eead4a817b8f3d1f981dc
push id1905
push userffxbld-merge
push dateMon, 21 Jan 2019 12:33:13 +0000
treeherdermozilla-release@c2fca1944d8c [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersjya
bugs1509956
milestone65.0a1
first release with
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
last release without
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
Bug 1509956 - Remove incorrect rebasing result in MSDM::loopingDecoding r=jya Differential Revision: https://phabricator.services.mozilla.com/D12965
dom/media/MediaDecoderStateMachine.cpp
--- a/dom/media/MediaDecoderStateMachine.cpp
+++ b/dom/media/MediaDecoderStateMachine.cpp
@@ -761,18 +761,16 @@ class MediaDecoderStateMachine::LoopingD
     if (!mMaster->IsAudioDecoding()) {
       SLOG("audio has ended, request the data again.");
       RequestAudioDataFromStartPosition();
     }
     DecodingState::Enter();
   }
 
   void Exit() override {
-    mAudioDataRequest.DisconnectIfExists();
-    mAudioSeekRequest.DisconnectIfExists();
     if (ShouldDiscardLoopedAudioData()) {
       mMaster->mAudioDataRequest.DisconnectIfExists();
       DiscardLoopedAudioData();
     }
     if (HasDecodedLastAudioFrame()) {
       AudioQueue().Finish();
     }
     mAudioDataRequest.DisconnectIfExists();