Index: content/renderer/media/websourcebuffer_impl.h |
diff --git a/content/renderer/media/websourcebuffer_impl.h b/content/renderer/media/websourcebuffer_impl.h |
index 6f54ac4cb4724ee690a6ea162aaa8e8c868886fe..b0e4fa686aed738299f5b320e49f1759a43c5343 100644 |
--- a/content/renderer/media/websourcebuffer_impl.h |
+++ b/content/renderer/media/websourcebuffer_impl.h |
@@ -9,6 +9,7 @@ |
#include "base/basictypes.h" |
#include "base/compiler_specific.h" |
+#include "base/time/time.h" |
#include "third_party/WebKit/public/platform/WebSourceBuffer.h" |
namespace media { |
@@ -40,6 +41,14 @@ class WebSourceBufferImpl : public blink::WebSourceBuffer { |
std::string id_; |
media::ChunkDemuxer* demuxer_; // Owned by WebMediaPlayerImpl. |
+ // Controls the offset applied to timestamps when processing appended media |
+ // segments. It is initially 0, which indicates that no offset is being |
+ // applied. Both setTimestampOffset() and append() may update this value. |
+ base::TimeDelta timestamp_offset_; |
+ |
+ base::TimeDelta append_window_start_; |
+ base::TimeDelta append_window_end_; |
+ |
DISALLOW_COPY_AND_ASSIGN(WebSourceBufferImpl); |
}; |