| Index: media/filters/chunk_demuxer.h
|
| diff --git a/media/filters/chunk_demuxer.h b/media/filters/chunk_demuxer.h
|
| index 8893b01b07a3dff19e917f13d2b0186dd4850a23..a12bba8d4c2c7aaea26fcd74512f03c63ece3fbc 100644
|
| --- a/media/filters/chunk_demuxer.h
|
| +++ b/media/filters/chunk_demuxer.h
|
| @@ -75,6 +75,10 @@ class MEDIA_EXPORT ChunkDemuxerStream : public DemuxerStream {
|
| // Returns the range of buffered data in this stream, capped at |duration|.
|
| Ranges<base::TimeDelta> GetBufferedRanges(base::TimeDelta duration) const;
|
|
|
| + // Returns the highest PTS of the buffered data.
|
| + // Returns base::TimeDelta() if the stream has no buffered data.
|
| + base::TimeDelta GetHighestPresentationTimestamp() const;
|
| +
|
| // Returns the duration of the buffered data.
|
| // Returns base::TimeDelta() if the stream has no buffered data.
|
| base::TimeDelta GetBufferedDuration() const;
|
| @@ -222,6 +226,10 @@ class MEDIA_EXPORT ChunkDemuxer : public Demuxer {
|
| // Gets the currently buffered ranges for the specified ID.
|
| Ranges<base::TimeDelta> GetBufferedRanges(const std::string& id) const;
|
|
|
| + // Gets the highest buffered PTS for the specified |id|. If there is nothing
|
| + // buffered, returns base::TimeDelta().
|
| + base::TimeDelta GetHighestPresentationTimestamp(const std::string& id) const;
|
| +
|
| // Appends media data to the source buffer associated with |id|, applying
|
| // and possibly updating |*timestamp_offset| during coded frame processing.
|
| // |append_window_start| and |append_window_end| correspond to the MSE spec's
|
|
|