Index: media/base/decoder_buffer.h |
diff --git a/media/base/decoder_buffer.h b/media/base/decoder_buffer.h |
index 665313ddcc1a698a23452c706355c80ed99f98d3..df9baf572c2dba476d0bacc29aac58ea582213fe 100644 |
--- a/media/base/decoder_buffer.h |
+++ b/media/base/decoder_buffer.h |
@@ -86,6 +86,12 @@ class MEDIA_EXPORT DecoderBuffer |
duration_ = duration; |
} |
+ bool is_duration_estimated() { return is_duration_estimated_; } |
wolenetz
2015/03/28 00:26:05
nit: const method
chcunningham
2015/04/13 23:25:17
Done.
|
+ |
+ void set_is_duration_estimated(bool is_estimated) { |
wolenetz
2015/03/28 00:26:05
Must these be in DecoderBuffer? Or is StreamParser
chcunningham
2015/04/13 23:25:17
Moved to StreamParserBuffer. SBS is currently the
|
+ is_duration_estimated_ = is_estimated; |
+ } |
+ |
const uint8* data() const { |
DCHECK(!end_of_stream()); |
return data_.get(); |
@@ -186,6 +192,7 @@ class MEDIA_EXPORT DecoderBuffer |
private: |
base::TimeDelta timestamp_; |
base::TimeDelta duration_; |
+ bool is_duration_estimated_; |
int size_; |
scoped_ptr<uint8, base::AlignedFreeDeleter> data_; |