OLD | NEW |
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. |
2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 #ifndef MEDIA_BASE_STREAM_PARSER_BUFFER_H_ | 5 #ifndef MEDIA_BASE_STREAM_PARSER_BUFFER_H_ |
6 #define MEDIA_BASE_STREAM_PARSER_BUFFER_H_ | 6 #define MEDIA_BASE_STREAM_PARSER_BUFFER_H_ |
7 | 7 |
8 #include <deque> | 8 #include <deque> |
9 | 9 |
| 10 #include "base/macros.h" |
10 #include "media/base/decoder_buffer.h" | 11 #include "media/base/decoder_buffer.h" |
11 #include "media/base/demuxer_stream.h" | 12 #include "media/base/demuxer_stream.h" |
12 #include "media/base/media_export.h" | 13 #include "media/base/media_export.h" |
13 #include "media/base/stream_parser.h" | 14 #include "media/base/stream_parser.h" |
14 #include "media/base/timestamp_constants.h" | 15 #include "media/base/timestamp_constants.h" |
15 | 16 |
16 namespace media { | 17 namespace media { |
17 | 18 |
18 // Simple wrapper around base::TimeDelta that represents a decode timestamp. | 19 // Simple wrapper around base::TimeDelta that represents a decode timestamp. |
19 // Making DecodeTimestamp a different type makes it easier to determine whether | 20 // Making DecodeTimestamp a different type makes it easier to determine whether |
(...skipping 178 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
198 BufferQueue splice_buffers_; | 199 BufferQueue splice_buffers_; |
199 scoped_refptr<StreamParserBuffer> preroll_buffer_; | 200 scoped_refptr<StreamParserBuffer> preroll_buffer_; |
200 bool is_duration_estimated_; | 201 bool is_duration_estimated_; |
201 | 202 |
202 DISALLOW_COPY_AND_ASSIGN(StreamParserBuffer); | 203 DISALLOW_COPY_AND_ASSIGN(StreamParserBuffer); |
203 }; | 204 }; |
204 | 205 |
205 } // namespace media | 206 } // namespace media |
206 | 207 |
207 #endif // MEDIA_BASE_STREAM_PARSER_BUFFER_H_ | 208 #endif // MEDIA_BASE_STREAM_PARSER_BUFFER_H_ |
OLD | NEW |