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 88a6354eac
commit cf8e74b87b

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;