mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-03-09 04:25:38 +00:00
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:
parent
e77b4d50d2
commit
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!");
|
||||
|
Loading…
x
Reference in New Issue
Block a user