Backed out changeset 24c0074052e6 (bug 1224936) for incoming mulet bustage
This commit is contained in:
@@ -786,7 +786,6 @@ void HTMLMediaElement::NoSupportedMediaSourceError()
|
|||||||
ChangeNetworkState(nsIDOMHTMLMediaElement::NETWORK_NO_SOURCE);
|
ChangeNetworkState(nsIDOMHTMLMediaElement::NETWORK_NO_SOURCE);
|
||||||
DispatchAsyncEvent(NS_LITERAL_STRING("error"));
|
DispatchAsyncEvent(NS_LITERAL_STRING("error"));
|
||||||
ChangeDelayLoadStatus(false);
|
ChangeDelayLoadStatus(false);
|
||||||
UpdateAudioChannelPlayingState();
|
|
||||||
}
|
}
|
||||||
|
|
||||||
typedef void (HTMLMediaElement::*SyncSectionFn)();
|
typedef void (HTMLMediaElement::*SyncSectionFn)();
|
||||||
@@ -3531,7 +3530,6 @@ void HTMLMediaElement::Error(uint16_t aErrorCode)
|
|||||||
ChangeNetworkState(nsIDOMHTMLMediaElement::NETWORK_IDLE);
|
ChangeNetworkState(nsIDOMHTMLMediaElement::NETWORK_IDLE);
|
||||||
}
|
}
|
||||||
ChangeDelayLoadStatus(false);
|
ChangeDelayLoadStatus(false);
|
||||||
UpdateAudioChannelPlayingState();
|
|
||||||
}
|
}
|
||||||
|
|
||||||
void HTMLMediaElement::PlaybackEnded()
|
void HTMLMediaElement::PlaybackEnded()
|
||||||
@@ -4758,11 +4756,6 @@ HTMLMediaElement::IsPlayingThroughTheAudioChannel() const
|
|||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
// If we have an error, we are not playing.
|
|
||||||
if (mError) {
|
|
||||||
return false;
|
|
||||||
}
|
|
||||||
|
|
||||||
// The volume should not be ~0
|
// The volume should not be ~0
|
||||||
if (std::fabs(Volume()) <= 1e-7) {
|
if (std::fabs(Volume()) <= 1e-7) {
|
||||||
return false;
|
return false;
|
||||||
|
|||||||
Reference in New Issue
Block a user