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

Unified Diff: media/base/stream_parser.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 | « media/base/pipeline_unittest.cc ('k') | media/ffmpeg/ffmpeg_common.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: media/base/stream_parser.h
diff --git a/media/base/stream_parser.h b/media/base/stream_parser.h
index c5410e3c385e9d801a30f791ff4f2133e5c35684..8123b4fc3d3deb3183261451e6b1f76ce9fea261 100644
--- a/media/base/stream_parser.h
+++ b/media/base/stream_parser.h
@@ -55,10 +55,15 @@ class MEDIA_EXPORT StreamParser {
// occurred.
// Second parameter - Indicates the stream duration. Only contains a valid
// value if the first parameter is true.
- // Third parameters - Indicates that timestampOffset should be updated based
+ // Third parameter - Indicates the Time associated with
+ // presentation timestamp 0 if such a mapping exists in
+ // the bytestream. If no mapping exists this parameter
+ // contains null Time object. Only contains a valid
+ // value if the first parameter is true.
+ // Fourth parameters - Indicates that timestampOffset should be updated based
// on the earliest end timestamp (audio or video) provided
// during each NewBuffersCB.
- typedef base::Callback<void(bool, base::TimeDelta, bool)> InitCB;
+ typedef base::Callback<void(bool, base::TimeDelta, base::Time, bool)> InitCB;
// Indicates when new stream configurations have been parsed.
// First parameter - The new audio configuration. If the config is not valid
« no previous file with comments | « media/base/pipeline_unittest.cc ('k') | media/ffmpeg/ffmpeg_common.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698