зеркало из https://github.com/mozilla/gecko-dev.git
b=957359 change failing output + finished assertion to warning r=padenot
--HG-- extra : transplant_source : %9A%B8%EE7h7PV%A9%E3P%B9%29%C1%FFz%40%DBPH
This commit is contained in:
Родитель
0d03a762fa
Коммит
eb7a768274
|
@ -396,8 +396,9 @@ MediaStreamGraphImpl::UpdateCurrentTime()
|
|||
stream->mBlocked.AdvanceCurrentTime(nextCurrentTime);
|
||||
|
||||
streamHasOutput[i] = blockedTime < nextCurrentTime - prevCurrentTime;
|
||||
NS_ASSERTION(!streamHasOutput[i] || !stream->mNotifiedFinished,
|
||||
"Shouldn't have already notified of finish *and* have output!");
|
||||
// Make this an assertion when bug 957832 is fixed.
|
||||
NS_WARN_IF_FALSE(!streamHasOutput[i] || !stream->mNotifiedFinished,
|
||||
"Shouldn't have already notified of finish *and* have output!");
|
||||
|
||||
if (stream->mFinished && !stream->mNotifiedFinished) {
|
||||
streamsReadyToFinish.AppendElement(stream);
|
||||
|
|
Загрузка…
Ссылка в новой задаче