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

Unified Diff: content/renderer/media/websourcebuffer_impl.h

Issue 191513002: Extract coded frame processing from SourceState into LegacyFrameProcessor (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Rebase and address PS2 comments and nits Created 6 years, 9 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: 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);
};
« no previous file with comments | « no previous file | content/renderer/media/websourcebuffer_impl.cc » ('j') | content/renderer/media/websourcebuffer_impl.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698