Bug 779721. Part 2: Don't block a stream just because it has no consumers. r=jesup

There is actually no reason to do this.
This commit is contained in:
Robert O'Callahan 2012-08-01 00:17:21 +12:00
Родитель e77b4d50d2
Коммит cd7044913d
1 изменённых файлов: 0 добавлений и 7 удалений

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

@ -964,13 +964,6 @@ MediaStreamGraphImpl::RecomputeBlockingAt(GraphTime aTime,
MarkStreamBlocked(stream, aTime, aEnd);
continue;
}
if (stream->mAudioOutputs.IsEmpty() && stream->mVideoOutputs.IsEmpty()) {
// See if the stream is being consumed anywhere. If not, it should block.
LOG(PR_LOG_DEBUG, ("MediaStream %p is blocked due to having no consumers", stream));
MarkStreamBlocked(stream, aTime, aEnd);
continue;
}
}
NS_ASSERTION(*aEnd > aTime, "Failed to advance!");