зеркало из https://github.com/mozilla/gecko-dev.git
Backed out changeset ecee67ed1ddf (bug 1201363)
This commit is contained in:
Родитель
19f8c5faa5
Коммит
0c81148980
|
@ -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) {
|
||||
|
|
Загрузка…
Ссылка в новой задаче