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

Unified Diff: media/base/demuxer.h

Issue 236023003: Add WebMediaPlayer::timelineOffset() support to WebMediaPlayerImpl. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Address CR comments Created 6 years, 8 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 | « content/renderer/media/webmediaplayer_impl.cc ('k') | media/base/mock_filters.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: media/base/demuxer.h
diff --git a/media/base/demuxer.h b/media/base/demuxer.h
index 31c9e29de504e0ad75ee2e19fb1af6f5e0c0f814..581bc0075f6f5023da5970308a6b99614a718861 100644
--- a/media/base/demuxer.h
+++ b/media/base/demuxer.h
@@ -87,6 +87,11 @@ class MEDIA_EXPORT Demuxer {
// Returns the starting time for the media file.
virtual base::TimeDelta GetStartTime() const = 0;
+ // Returns Time represented by presentation timestamp 0.
+ // If the timstamps are not associated with a Time, then
+ // a null Time is returned.
+ virtual base::Time GetTimelineOffset() const = 0;
+
private:
DISALLOW_COPY_AND_ASSIGN(Demuxer);
};
« no previous file with comments | « content/renderer/media/webmediaplayer_impl.cc ('k') | media/base/mock_filters.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698