bug 962719 remove notified blocked warning of finished stream r=padenot

Finished can be determined immediately after mFinished is set, but blocked is
not determined until RecomputeBlocking() has run.

--HG--
extra : rebase_source : e1d919bfbd411b928c25d1f0d428842e17f6fbf8
This commit is contained in:
Karl Tomlinson 2015-07-31 22:49:55 +12:00
Родитель fb9954a77c
Коммит c2379131a8
1 изменённых файлов: 0 добавлений и 2 удалений

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

@ -347,8 +347,6 @@ MediaStreamGraphImpl::StreamReadyToFinish(MediaStream* aStream)
// out.
if (mProcessedTime >=
aStream->StreamTimeToGraphTime(aStream->GetStreamBuffer().GetAllTracksEnd())) {
NS_WARN_IF_FALSE(aStream->mNotifiedBlocked,
"Should've notified blocked=true for a fully finished stream");
aStream->mNotifiedFinished = true;
SetStreamOrderDirty();
for (uint32_t j = 0; j < aStream->mListeners.Length(); ++j) {