| Index: media/filters/legacy_frame_processor.h
|
| diff --git a/media/filters/legacy_frame_processor.h b/media/filters/legacy_frame_processor.h
|
| index 46da312b0509c702983f309e36b62379549592fd..c37dd7b21dbea0802d6516c2660da3d591d55196 100644
|
| --- a/media/filters/legacy_frame_processor.h
|
| +++ b/media/filters/legacy_frame_processor.h
|
| @@ -63,18 +63,21 @@ class MEDIA_EXPORT LegacyFrameProcessor : public FrameProcessorBase {
|
| // Helper function for Legacy ProcessFrames() when new text buffers have been
|
| // parsed.
|
| // Applies |timestamp_offset| to all buffers in |buffers|, filters |buffers|
|
| - // with append window, and then appends the modified and filtered buffers to
|
| - // the stream associated with the track having |text_track_id|. If any of
|
| - // |buffers| are filtered out by append window, then |*new_media_segment| is
|
| - // set true.
|
| + // with append window, and stores those filtered buffers into |filtered_text|
|
| + // based on |text_track_id|. If any of |buffers| are filtered out by append
|
| + // window, then |*new_media_segment| is set true.
|
| + // Updates |lowest_segment_timestamp| to be the earliest decode timestamp of
|
| + // all buffers in |filtered_text|.
|
| // Returns true on a successful call. Returns false if an error occurred while
|
| // processing the buffers.
|
| - bool OnTextBuffers(StreamParser::TrackId text_track_id,
|
| - base::TimeDelta append_window_start,
|
| - base::TimeDelta append_window_end,
|
| - base::TimeDelta timestamp_offset,
|
| - const StreamParser::BufferQueue& buffers,
|
| - bool* new_media_segment);
|
| + bool FilterTextBuffers(StreamParser::TrackId text_track_id,
|
| + base::TimeDelta append_window_start,
|
| + base::TimeDelta append_window_end,
|
| + base::TimeDelta timestamp_offset,
|
| + const StreamParser::BufferQueue& buffers,
|
| + bool* new_media_segment,
|
| + base::TimeDelta* lowest_segment_timestamp,
|
| + StreamParser::TextBufferQueueMap* filtered_text);
|
|
|
| IncreaseDurationCB increase_duration_cb_;
|
|
|
|
|