Bug 1343161 - MediaDecoderOwner::DecodeWarning and HTMLMediaElement implementation - r=jya
Similar to DecodeError, except we allow decoding to continue. MozReview-Commit-ID: FN9m03o6GXV
This commit is contained in:
@@ -5286,6 +5286,14 @@ void HTMLMediaElement::DecodeError(const MediaResult& aError)
|
||||
}
|
||||
}
|
||||
|
||||
void HTMLMediaElement::DecodeWarning(const MediaResult& aError)
|
||||
{
|
||||
nsAutoString src;
|
||||
GetCurrentSrc(src);
|
||||
DecoderDoctorDiagnostics diagnostics;
|
||||
diagnostics.StoreDecodeError(OwnerDoc(), aError, src, __func__);
|
||||
}
|
||||
|
||||
bool HTMLMediaElement::HasError() const
|
||||
{
|
||||
return GetError();
|
||||
|
||||
Reference in New Issue
Block a user