зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1079621 - Change non-fatal errors to warnings. r=rillian
This resolves intermittent failures in continuous integration. NS_ERROR() triggers an assertion in debug builds, which tinderbox reports as a failure. NS_WARNING calls NS_DebugBreak, but with the lower severity level it skips invoking the debugger.
This commit is contained in:
Родитель
ad948ddd6a
Коммит
43e6e5bbf7
|
@ -351,7 +351,7 @@ AppleVDADecoder::SubmitFrame(mp4_demuxer::MP4Sample* aSample)
|
|||
MOZ_ASSERT(CFGetRetainCount(frameInfo) >= 2, "Bad retain count");
|
||||
|
||||
if (rv != noErr) {
|
||||
NS_ERROR("AppleVDADecoder: Couldn't pass frame to decoder");
|
||||
NS_WARNING("AppleVDADecoder: Couldn't pass frame to decoder");
|
||||
return NS_ERROR_FAILURE;
|
||||
}
|
||||
|
||||
|
|
|
@ -240,7 +240,7 @@ AppleVTDecoder::SubmitFrame(mp4_demuxer::MP4Sample* aSample)
|
|||
CreateAppleFrameRef(aSample),
|
||||
&flags);
|
||||
if (rv != noErr) {
|
||||
NS_ERROR("Couldn't pass frame to decoder");
|
||||
NS_WARNING("Couldn't pass frame to decoder");
|
||||
return NS_ERROR_FAILURE;
|
||||
}
|
||||
|
||||
|
|
Загрузка…
Ссылка в новой задаче