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_WEBM_WEBM_CLUSTER_PARSER_H_ | 5 #ifndef MEDIA_WEBM_WEBM_CLUSTER_PARSER_H_ |
6 #define MEDIA_WEBM_WEBM_CLUSTER_PARSER_H_ | 6 #define MEDIA_WEBM_WEBM_CLUSTER_PARSER_H_ |
7 | 7 |
8 #include <deque> | 8 #include <deque> |
9 #include <string> | 9 #include <string> |
10 | 10 |
(...skipping 52 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
63 | 63 |
64 WebMListParser parser_; | 64 WebMListParser parser_; |
65 | 65 |
66 int64 last_block_timecode_; | 66 int64 last_block_timecode_; |
67 scoped_array<uint8> block_data_; | 67 scoped_array<uint8> block_data_; |
68 int block_data_size_; | 68 int block_data_size_; |
69 int64 block_duration_; | 69 int64 block_duration_; |
70 | 70 |
71 int64 cluster_timecode_; | 71 int64 cluster_timecode_; |
72 BufferQueue audio_buffers_; | 72 BufferQueue audio_buffers_; |
| 73 scoped_refptr<StreamParserBuffer> delayed_audio_buffer_; |
| 74 |
73 BufferQueue video_buffers_; | 75 BufferQueue video_buffers_; |
| 76 scoped_refptr<StreamParserBuffer> delayed_video_buffer_; |
74 | 77 |
75 DISALLOW_IMPLICIT_CONSTRUCTORS(WebMClusterParser); | 78 DISALLOW_IMPLICIT_CONSTRUCTORS(WebMClusterParser); |
76 }; | 79 }; |
77 | 80 |
78 } // namespace media | 81 } // namespace media |
79 | 82 |
80 #endif // MEDIA_WEBM_WEBM_CLUSTER_PARSER_H_ | 83 #endif // MEDIA_WEBM_WEBM_CLUSTER_PARSER_H_ |
OLD | NEW |