Chromium Code Reviews| 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 107 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 118 | 118 |
| 119 bool has_audio_; | 119 bool has_audio_; |
| 120 bool has_video_; | 120 bool has_video_; |
| 121 std::set<uint32_t> audio_track_ids_; | 121 std::set<uint32_t> audio_track_ids_; |
| 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 | |
| 129 // prevent log spam. | |
| 130 int num_top_level_box_skipped_; | |
| 131 | |
| 132 // Tracks the number of MEDIA_LOGS for skipping empty trun samples. | 128 // Tracks the number of MEDIA_LOGS for skipping empty trun samples. |
| 133 int num_emtpy_samples_skipped_; | 129 int num_emtpy_samples_skipped_; |
|
wolenetz
2016/09/23 19:16:01
ugh. I'll fix this in next patch set...
| |
| 134 | 130 |
| 135 DISALLOW_COPY_AND_ASSIGN(MP4StreamParser); | 131 DISALLOW_COPY_AND_ASSIGN(MP4StreamParser); |
| 136 }; | 132 }; |
| 137 | 133 |
| 138 } // namespace mp4 | 134 } // namespace mp4 |
| 139 } // namespace media | 135 } // namespace media |
| 140 | 136 |
| 141 #endif // MEDIA_FORMATS_MP4_MP4_STREAM_PARSER_H_ | 137 #endif // MEDIA_FORMATS_MP4_MP4_STREAM_PARSER_H_ |
| OLD | NEW |