| Index: media/filters/frame_processor.h
|
| diff --git a/media/filters/frame_processor.h b/media/filters/frame_processor.h
|
| index 0afcf0ae17fc4be7fabd6c391db95bf3ab68256f..382967c2a09e2d61e4752f76a8919949a884504a 100644
|
| --- a/media/filters/frame_processor.h
|
| +++ b/media/filters/frame_processor.h
|
| @@ -90,6 +90,17 @@ class MEDIA_EXPORT FrameProcessor {
|
| // preroll buffers.
|
| void OnPossibleAudioConfigUpdate(const AudioDecoderConfig& config);
|
|
|
| + // Must be called when the range removal algorithm has removed frames from the
|
| + // track associated with |track_id| in the inclusive range [|start_dts|,
|
| + // |end_dts|].
|
| + // Used to detect a potentially introduced append discontinuity caused by
|
| + // the range removal algorithm.
|
| + // Returns false on error, such as if |track_id| is unknown. Otherwise returns
|
| + // true.
|
| + bool OnRangeRemoval(StreamParser::TrackId track_id,
|
| + DecodeTimestamp start_dts,
|
| + DecodeTimestamp end_dts);
|
| +
|
| private:
|
| typedef std::map<StreamParser::TrackId, MseTrackBuffer*> TrackBufferMap;
|
|
|
|
|