Chromium Code Reviews| Index: Source/modules/mediasource/WebKitSourceBuffer.cpp |
| diff --git a/Source/modules/mediasource/WebKitSourceBuffer.cpp b/Source/modules/mediasource/WebKitSourceBuffer.cpp |
| index fa82ac6c118ab30a7fc3426231b03a012401edcc..f290939b66704b8d17349b92a71af3267ca516f4 100644 |
| --- a/Source/modules/mediasource/WebKitSourceBuffer.cpp |
| +++ b/Source/modules/mediasource/WebKitSourceBuffer.cpp |
| @@ -139,6 +139,12 @@ void WebKitSourceBuffer::append(PassRefPtr<Uint8Array> data, ExceptionState& exc |
| // Steps 6 & beyond are handled by m_webSourceBuffer. |
| m_webSourceBuffer->append(data->data(), data->length()); |
| + |
| + // Retrieve the implementation's possibly updated timestamp offset resulting |
| + // from the append. In reality, since this prefixed API does not support |
| + // "sequence" append mode, the offset should not have changed due to |
| + // append processing. |
| + m_timestampOffset = m_webSourceBuffer->getTimestampOffset(); |
|
acolwell GONE FROM CHROMIUM
2014/02/25 17:50:57
Remove this. As your comment states, the timestamp
wolenetz
2014/02/25 20:33:32
Done.
|
| } |
| void WebKitSourceBuffer::abort(ExceptionState& exceptionState) |