Index: media/base/stream_parser_buffer.h |
diff --git a/media/base/stream_parser_buffer.h b/media/base/stream_parser_buffer.h |
index f894381e34691e159ca6f8ef1dd399d82b42a883..c614828537a56ad134278388e1491db46da2bfa2 100644 |
--- a/media/base/stream_parser_buffer.h |
+++ b/media/base/stream_parser_buffer.h |
@@ -170,6 +170,12 @@ class MEDIA_EXPORT StreamParserBuffer : public DecoderBuffer { |
void set_timestamp(base::TimeDelta timestamp) override; |
+ bool is_duration_estimated() const { return is_duration_estimated_; } |
+ |
+ void set_is_duration_estimated(bool is_estimated) { |
+ is_duration_estimated_ = is_estimated; |
+ } |
+ |
private: |
StreamParserBuffer(const uint8* data, int data_size, |
const uint8* side_data, int side_data_size, |
@@ -183,6 +189,7 @@ class MEDIA_EXPORT StreamParserBuffer : public DecoderBuffer { |
TrackId track_id_; |
BufferQueue splice_buffers_; |
scoped_refptr<StreamParserBuffer> preroll_buffer_; |
+ bool is_duration_estimated_; |
DISALLOW_COPY_AND_ASSIGN(StreamParserBuffer); |
}; |