OLD | NEW |
---|---|
1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 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_FORMATS_MP4_MP4_STREAM_PARSER_H_ | 5 #ifndef MEDIA_FORMATS_MP4_MP4_STREAM_PARSER_H_ |
6 #define MEDIA_FORMATS_MP4_MP4_STREAM_PARSER_H_ | 6 #define MEDIA_FORMATS_MP4_MP4_STREAM_PARSER_H_ |
7 | 7 |
8 #include <stdint.h> | 8 #include <stdint.h> |
9 | 9 |
10 #include <memory> | 10 #include <memory> |
(...skipping 111 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
122 std::set<uint32_t> video_track_ids_; | 122 std::set<uint32_t> video_track_ids_; |
123 // The object types allowed for audio tracks. | 123 // The object types allowed for audio tracks. |
124 std::set<int> audio_object_types_; | 124 std::set<int> audio_object_types_; |
125 bool has_sbr_; | 125 bool has_sbr_; |
126 std::map<uint32_t, bool> is_track_encrypted_; | 126 std::map<uint32_t, bool> is_track_encrypted_; |
127 | 127 |
128 // Tracks the number of MEDIA_LOGs for skipping top level boxes. Useful to | 128 // Tracks the number of MEDIA_LOGs for skipping top level boxes. Useful to |
129 // prevent log spam. | 129 // prevent log spam. |
130 int num_top_level_box_skipped_; | 130 int num_top_level_box_skipped_; |
131 | 131 |
132 // Tracks the number of MEDIA_LOGS for skipping empty trun samples. | |
133 int num_emtpy_samples_skipped_; | |
wolenetz
2016/09/23 19:14:54
nit: typo.
| |
134 | |
132 DISALLOW_COPY_AND_ASSIGN(MP4StreamParser); | 135 DISALLOW_COPY_AND_ASSIGN(MP4StreamParser); |
133 }; | 136 }; |
134 | 137 |
135 } // namespace mp4 | 138 } // namespace mp4 |
136 } // namespace media | 139 } // namespace media |
137 | 140 |
138 #endif // MEDIA_FORMATS_MP4_MP4_STREAM_PARSER_H_ | 141 #endif // MEDIA_FORMATS_MP4_MP4_STREAM_PARSER_H_ |
OLD | NEW |