mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-02-16 13:56:29 +00:00
Backed out changeset e350d8c25d2e (bug 1201363)
This commit is contained in:
parent
facfd7e206
commit
1cddcd1b7d
@ -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) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user