Index: media/filters/legacy_frame_processor.cc |
diff --git a/media/filters/legacy_frame_processor.cc b/media/filters/legacy_frame_processor.cc |
index 71c280183f2d2f74026d89dae8074f23737c5c44..d63f25d92b4b176d6c3782a693474fa65628d158 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; |
StreamParser::TextBufferQueueMap filtered_text; |
@@ -110,13 +113,8 @@ bool LegacyFrameProcessor::ProcessFrames( |
} |
*new_media_segment = false; |
- |
DCHECK(segment_timestamp != kInfiniteDuration()); |
- 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() && |