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

Unified Diff: media/base/filter_host.h

Issue 2085012: Reporting a more accurate buffered time for the video tag (Closed)
Patch Set: Added checks to fix some edgecase bugs. Created 10 years, 6 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 | « no previous file | media/base/mock_filter_host.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: media/base/filter_host.h
diff --git a/media/base/filter_host.h b/media/base/filter_host.h
index e90096f98a386c04baf0f52ee798e95147cb6bce..e28a957082a099a51047b929a25dc449f3449ed3 100644
--- a/media/base/filter_host.h
+++ b/media/base/filter_host.h
@@ -74,6 +74,12 @@ class FilterHost {
// filters.
virtual void DisableAudioRenderer() = 0;
+ // Sets the byte offset at which the client is requesting the video.
+ virtual void SetCurrentReadPosition(int64 offset) = 0;
+
+ // Gets the byte offset at which the client is requesting the video.
+ virtual int64 GetCurrentReadPosition() = 0;
+
protected:
virtual ~FilterHost() {}
};
« no previous file with comments | « no previous file | media/base/mock_filter_host.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698