Bug 805771. Don't call NotifyPull after a stream has finished. r=jesup

This commit is contained in:
Robert O'Callahan 2012-10-26 13:11:50 -04:00
parent 7453c1c485
commit c14b6532cb

View File

@ -585,7 +585,7 @@ MediaStreamGraphImpl::ExtractPendingInput(SourceMediaStream* aStream,
bool finished;
{
MutexAutoLock lock(aStream->mMutex);
if (aStream->mPullEnabled) {
if (aStream->mPullEnabled && !aStream->mFinished) {
for (uint32_t j = 0; j < aStream->mListeners.Length(); ++j) {
MediaStreamListener* l = aStream->mListeners[j];
{