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

Unified Diff: media/mp4/mp4_stream_parser.h

Issue 10803019: Chrome-side implementation of media source timestamp offset (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 5 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: media/mp4/mp4_stream_parser.h
diff --git a/media/mp4/mp4_stream_parser.h b/media/mp4/mp4_stream_parser.h
index 706aa65dfc69db50df0e40eba605125de1778add..dedca71261092a461646b94d34bfc3642bfb3502 100644
--- a/media/mp4/mp4_stream_parser.h
+++ b/media/mp4/mp4_stream_parser.h
@@ -26,6 +26,7 @@ class MEDIA_EXPORT MP4StreamParser : public StreamParser {
MP4StreamParser();
virtual ~MP4StreamParser();
+ // StreamParser implementation.
virtual void Init(const InitCB& init_cb, const NewConfigCB& config_cb,
const NewBuffersCB& audio_cb,
const NewBuffersCB& video_cb,
@@ -33,6 +34,8 @@ class MEDIA_EXPORT MP4StreamParser : public StreamParser {
const NewMediaSegmentCB& new_segment_cb) OVERRIDE;
virtual void Flush() OVERRIDE;
virtual bool Parse(const uint8* buf, int size) OVERRIDE;
+ virtual void SetTimestampOffset(base::TimeDelta offset) OVERRIDE;
+ virtual void ClearTimestampOffset() OVERRIDE;
private:
enum State {

Powered by Google App Engine
This is Rietveld 408576698