Bug 1048171 - HTTMLMediaElement should not send an AudioChannel 'stop' event when seeking, r=roc

This commit is contained in:
Andrea Marchesini 2014-08-07 09:55:58 +02:00
parent 8a40ae525e
commit 7b2b020c4e

View File

@ -3891,7 +3891,8 @@ void HTMLMediaElement::UpdateAudioChannelPlayingState()
(!mPaused &&
(HasAttr(kNameSpaceID_None, nsGkAtoms::loop) ||
(mReadyState >= nsIDOMHTMLMediaElement::HAVE_CURRENT_DATA &&
!IsPlaybackEnded())));
!IsPlaybackEnded()) ||
mPlayingBeforeSeek));
if (playingThroughTheAudioChannel != mPlayingThroughTheAudioChannel) {
mPlayingThroughTheAudioChannel = playingThroughTheAudioChannel;