Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(711)

Unified Diff: media/base/pipeline.h

Issue 1526303004: Fix buffered range updates in media::Pipeline (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Android buildfix Created 4 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « media/base/mock_demuxer_host.h ('k') | media/base/pipeline.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: media/base/pipeline.h
diff --git a/media/base/pipeline.h b/media/base/pipeline.h
index ba99348ee6032cf6e0f7b964ef731ab32f5b9520..5eae2e09e1f2ce80b76d90d977a3750fc4352479 100644
--- a/media/base/pipeline.h
+++ b/media/base/pipeline.h
@@ -246,8 +246,8 @@ class MEDIA_EXPORT Pipeline : public DemuxerHost {
void FinishSeek();
// DemuxerHost implementaion.
- void AddBufferedTimeRange(base::TimeDelta start,
- base::TimeDelta end) override;
+ void OnBufferedTimeRangesChanged(
+ const Ranges<base::TimeDelta>& ranges) override;
void SetDuration(base::TimeDelta duration) override;
void OnDemuxerError(PipelineStatus error) override;
void AddTextStream(DemuxerStream* text_stream,
@@ -350,7 +350,7 @@ class MEDIA_EXPORT Pipeline : public DemuxerHost {
// Amount of available buffered data as reported by |demuxer_|.
Ranges<base::TimeDelta> buffered_time_ranges_;
- // True when AddBufferedTimeRange() has been called more recently than
+ // True when OnBufferedTimeRangesChanged() has been called more recently than
// DidLoadingProgress().
bool did_loading_progress_;
« no previous file with comments | « media/base/mock_demuxer_host.h ('k') | media/base/pipeline.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698