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:
Karl Tomlinson 2014-01-28 18:14:24 +13:00
Родитель 0d03a762fa
Коммит eb7a768274
1 изменённых файлов: 3 добавлений и 2 удалений

Просмотреть файл

@ -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);