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

Unified Diff: media/filters/chunk_demuxer.h

Issue 10823300: Make ChunkDemuxer::SetTimestampOffset take a TimeDelta instead of double (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: better solution Created 8 years, 4 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/filters/chunk_demuxer.cc » ('j') | webkit/media/webmediaplayer_impl.cc » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: media/filters/chunk_demuxer.h
diff --git a/media/filters/chunk_demuxer.h b/media/filters/chunk_demuxer.h
index 81029ac5e24e8214c29aa1061aaa023002eedf47..792477eb4fe06dfb77535b1616629e110e653a0a 100644
--- a/media/filters/chunk_demuxer.h
+++ b/media/filters/chunk_demuxer.h
@@ -78,7 +78,7 @@ class MEDIA_EXPORT ChunkDemuxer : public Demuxer {
// appended to the source buffer assicated with |id|. Returns true if the
// offset is set properly, false if the offset cannot be applied because we're
// in the middle of parsing a media segment.
- bool SetTimestampOffset(const std::string& id, double offset);
+ bool SetTimestampOffset(const std::string& id, base::TimeDelta offset);
// Signals an EndOfStream request.
// Returns false if called in an unexpected state or if there is a gap between
« no previous file with comments | « no previous file | media/filters/chunk_demuxer.cc » ('j') | webkit/media/webmediaplayer_impl.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698