| Index: media/filters/legacy_frame_processor.cc
|
| diff --git a/media/filters/legacy_frame_processor.cc b/media/filters/legacy_frame_processor.cc
|
| index ba4cce142ae31e9fc1966d7346abd89700d79de9..843cdc1f9c1fdb578d217f9650174c6fc6474c76 100644
|
| --- a/media/filters/legacy_frame_processor.cc
|
| +++ b/media/filters/legacy_frame_processor.cc
|
| @@ -26,6 +26,13 @@ void LegacyFrameProcessor::SetSequenceMode(bool sequence_mode) {
|
| sequence_mode_ = sequence_mode;
|
| }
|
|
|
| +void LegacyFrameProcessor::SetGroupStartTimestampIfInSequenceMode(
|
| + base::TimeDelta timestamp_offset) {
|
| + DVLOG(2) << __FUNCTION__ << "(" << timestamp_offset.InSecondsF() << ")";
|
| + // Legacy frame processor does not support sequence mode nor does it observe
|
| + // a group start timestamp.
|
| +}
|
| +
|
| bool LegacyFrameProcessor::ProcessFrames(
|
| const StreamParser::BufferQueue& audio_buffers,
|
| const StreamParser::BufferQueue& video_buffers,
|
| @@ -50,10 +57,6 @@ bool LegacyFrameProcessor::ProcessFrames(
|
| MseTrackBuffer* video_track = FindTrack(kVideoTrackId);
|
| DCHECK(video_buffers.empty() || video_track);
|
|
|
| - // TODO(wolenetz): DCHECK + return false if any of these buffers have UNKNOWN
|
| - // type() in upcoming coded frame processing compliant implementation. See
|
| - // http://crbug.com/249422.
|
| -
|
| StreamParser::BufferQueue filtered_audio;
|
| StreamParser::BufferQueue filtered_video;
|
|
|
| @@ -87,11 +90,7 @@ bool LegacyFrameProcessor::ProcessFrames(
|
| }
|
|
|
| *new_media_segment = false;
|
| -
|
| - for (TrackBufferMap::iterator itr = track_buffers_.begin();
|
| - itr != track_buffers_.end(); ++itr) {
|
| - itr->second->stream()->OnNewMediaSegment(segment_timestamp);
|
| - }
|
| + NotifyNewMediaSegmentStarting(segment_timestamp);
|
| }
|
|
|
| if (!filtered_audio.empty() &&
|
|
|