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

Unified Diff: Source/modules/mediasource/WebKitSourceBuffer.cpp

Issue 178763006: Enable round-tripping and updating of SourceBuffer timestamp offset (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Addresses PS4 nit 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
Index: Source/modules/mediasource/WebKitSourceBuffer.cpp
diff --git a/Source/modules/mediasource/WebKitSourceBuffer.cpp b/Source/modules/mediasource/WebKitSourceBuffer.cpp
index f460311fb3dc0bea48d95d62227b62850ebe8afb..2ea7c2dc3e1722d06657bf8e4dea2c336c4ebdb3 100644
--- a/Source/modules/mediasource/WebKitSourceBuffer.cpp
+++ b/Source/modules/mediasource/WebKitSourceBuffer.cpp
@@ -136,7 +136,11 @@ void WebKitSourceBuffer::append(PassRefPtr<Uint8Array> data, ExceptionState& exc
m_source->openIfInEndedState();
// Steps 6 & beyond are handled by m_webSourceBuffer.
- m_webSourceBuffer->append(data->data(), data->length());
+
+ // |dummyNewTimestampOffset| is ignored because the prefixed API does not allow appends to update
jamesr 2014/02/27 01:49:56 if the parameter is only optionally needed by call
wolenetz 2014/02/27 03:29:58 Done.
+ // timestampOffset.
+ double dummyNewTimestampOffset;
+ m_webSourceBuffer->append(data->data(), data->length(), &dummyNewTimestampOffset);
}
void WebKitSourceBuffer::abort(ExceptionState& exceptionState)

Powered by Google App Engine
This is Rietveld 408576698