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

Unified Diff: chromecast/media/cma/base/decoder_buffer_base.h

Issue 1145163005: Add set_timestamp to cma's DecoderBufferBase (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 6 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: chromecast/media/cma/base/decoder_buffer_base.h
diff --git a/chromecast/media/cma/base/decoder_buffer_base.h b/chromecast/media/cma/base/decoder_buffer_base.h
index 98498eb7b534485592093bb408fab9174b46c271..1fca1b27e91276e6313ec79f87eb35883aa7e49d 100644
--- a/chromecast/media/cma/base/decoder_buffer_base.h
+++ b/chromecast/media/cma/base/decoder_buffer_base.h
@@ -33,6 +33,9 @@ class DecoderBufferBase
// Returns the PTS of the frame.
virtual base::TimeDelta timestamp() const = 0;
+ // Sets the PTS of the frame.
+ virtual void set_timestamp(const base::TimeDelta& timestamp) = 0;
gunsch 2015/06/05 20:02:48 Today, DecoderBufferBase is immutable, which is a
halliwell 2015/06/05 20:16:47 Hmmm ... I could definitely do either of those if
+
// Gets the frame data.
virtual const uint8* data() const = 0;
virtual uint8* writable_data() const = 0;

Powered by Google App Engine
This is Rietveld 408576698