forked from mirrors/gecko-dev
Bug 1885026 - don't show warning for NS_ERROR_DOM_MEDIA_EXTERNAL_ENGINE_NOT_SUPPORTED_ERR. r=media-playback-reviewers,padenot
`NS_ERROR_DOM_MEDIA_EXTERNAL_ENGINE_NOT_SUPPORTED_ERR` is an internal error we use to switch the decoder state machine, this is not a real error which should be warned. Differential Revision: https://phabricator.services.mozilla.com/D204429
This commit is contained in:
parent
cc0efecf5c
commit
c1fffe2d9b
1 changed files with 3 additions and 1 deletions
|
|
@ -163,7 +163,9 @@ bool MediaDecoderStateMachineBase::OnTaskQueue() const {
|
|||
|
||||
void MediaDecoderStateMachineBase::DecodeError(const MediaResult& aError) {
|
||||
MOZ_ASSERT(OnTaskQueue());
|
||||
LOGE("Decode error: %s", aError.Description().get());
|
||||
if (aError != NS_ERROR_DOM_MEDIA_EXTERNAL_ENGINE_NOT_SUPPORTED_ERR) {
|
||||
LOGE("Decode error: %s", aError.Description().get());
|
||||
}
|
||||
PROFILER_MARKER_TEXT("MDSMBase::DecodeError", MEDIA_PLAYBACK, {},
|
||||
aError.Description());
|
||||
// Notify the decode error and MediaDecoder will shut down MDSM.
|
||||
|
|
|
|||
Loading…
Reference in a new issue