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

Unified Diff: public/platform/WebSourceBuffer.h

Issue 178763006: Enable round-tripping and updating of SourceBuffer timestamp offset (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Rework to depend on Chromium side landing first and pass double* timestampOffset (no bool) Created 6 years, 10 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 | « Source/modules/mediasource/WebKitSourceBuffer.cpp ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: public/platform/WebSourceBuffer.h
diff --git a/public/platform/WebSourceBuffer.h b/public/platform/WebSourceBuffer.h
index e789648be8f95d62073d2a76d7bdaf74fbe6a0c4..1f34a0c52ab9696ab3baf3b5f732cda54e8c0139 100644
--- a/public/platform/WebSourceBuffer.h
+++ b/public/platform/WebSourceBuffer.h
@@ -45,7 +45,11 @@ public:
virtual ~WebSourceBuffer() { }
virtual bool setMode(AppendMode) = 0;
virtual WebTimeRanges buffered() = 0;
- virtual void append(const unsigned char* data, unsigned length) = 0;
+
+ // Appends data and runs the segment parser loop algorithm.
+ // The algorithm may update |*timestampOffset| if |timestampOffset| is not null.
+ virtual void append(const unsigned char* data, unsigned length, double* timestampOffset) = 0;
+
virtual void abort() = 0;
virtual void remove(double start, double end) = 0;
virtual bool setTimestampOffset(double) = 0;
« no previous file with comments | « Source/modules/mediasource/WebKitSourceBuffer.cpp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698