зеркало из https://github.com/mozilla/gecko-dev.git
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:
Родитель
e77b4d50d2
Коммит
cd7044913d
|
@ -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!");
|
||||
|
|
Загрузка…
Ссылка в новой задаче