Backed out changeset ecee67ed1ddf (bug 1201363)

This commit is contained in:
Sebastian Hengst 2016-08-03 19:33:24 +02:00
Родитель 19f8c5faa5
Коммит 0c81148980
2 изменённых файлов: 16 добавлений и 0 удалений

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

@ -241,6 +241,16 @@ MediaStreamGraphImpl::ExtractPendingInput(SourceMediaStream* aStream,
l->NotifyQueuedTrackChanges(this, data->mID,
offset, static_cast<TrackEventCommand>(data->mCommands), *data->mData);
}
} else {
// Fixme: This part will be removed in the bug 1201363. It will be
// removed in changeset "Do not copy video segment to StreamTracks in
// TrackUnionStream."
// Dealing with video and not TRACK_CREATE and TRACK_END case.
for (MediaStreamListener* l : aStream->mListeners) {
l->NotifyQueuedTrackChanges(this, data->mID,
offset, static_cast<TrackEventCommand>(data->mCommands), *data->mData);
}
}
}

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

@ -332,6 +332,12 @@ TrackUnionStream::TrackUnionStream() :
*static_cast<AudioSegment*>(segment),
map->mInputPort->GetSource(),
map->mInputTrackID);
} else {
// This part will be removed in bug 1201363.
l->NotifyQueuedTrackChanges(Graph(), outputTrack->GetID(),
outputStart, TrackEventCommand::TRACK_EVENT_NONE, *segment,
map->mInputPort->GetSource(),
map->mInputTrackID);
}
}
for (TrackBound<MediaStreamTrackListener>& b : mTrackListeners) {