Index: Source/modules/mediasource/SourceBuffer.cpp |
diff --git a/Source/modules/mediasource/SourceBuffer.cpp b/Source/modules/mediasource/SourceBuffer.cpp |
index afdfb6edc57391912a38f216d65b9bc463d6698e..eb34c6bb3c230d8adb8f02a44c9311c3df833d92 100644 |
--- a/Source/modules/mediasource/SourceBuffer.cpp |
+++ b/Source/modules/mediasource/SourceBuffer.cpp |
@@ -534,7 +534,7 @@ void SourceBuffer::appendBufferAsyncPart() |
// so that it can clear its end of stream state if necessary. |
m_pendingAppendData.resize(1); |
} |
- m_webSourceBuffer->append(m_pendingAppendData.data(), appendSize); |
+ m_webSourceBuffer->append(m_pendingAppendData.data(), appendSize, &m_timestampOffset); |
// 3. Set the updating attribute to false. |
m_updating = false; |
@@ -688,8 +688,7 @@ void SourceBuffer::didReceiveDataForClient(const char* data, unsigned dataLength |
WTF_LOG(Media, "SourceBuffer::didReceiveDataForClient(%d) %p", dataLength, this); |
ASSERT(m_updating); |
ASSERT(m_loader); |
- |
- m_webSourceBuffer->append(reinterpret_cast<const unsigned char*>(data), dataLength); |
+ m_webSourceBuffer->append(reinterpret_cast<const unsigned char*>(data), dataLength, &m_timestampOffset); |
} |
void SourceBuffer::didFinishLoading() |