Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(48)

Side by Side Diff: media/formats/mp4/mp4_stream_parser.h

Issue 2365653006: Address review nits from r420647 (Closed)
Patch Set: Created 4 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « no previous file | media/formats/mp4/mp4_stream_parser.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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
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_
OLDNEW
« no previous file with comments | « no previous file | media/formats/mp4/mp4_stream_parser.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698