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 #include "media/formats/mp2t/es_parser_adts.h" | 5 #include "media/formats/mp2t/es_parser_adts.h" |
6 | 6 |
| 7 #include <stddef.h> |
| 8 |
7 #include <vector> | 9 #include <vector> |
8 | 10 |
9 #include "base/logging.h" | 11 #include "base/logging.h" |
10 #include "base/strings/string_number_conversions.h" | 12 #include "base/strings/string_number_conversions.h" |
11 #include "media/base/audio_timestamp_helper.h" | 13 #include "media/base/audio_timestamp_helper.h" |
12 #include "media/base/bit_reader.h" | 14 #include "media/base/bit_reader.h" |
13 #include "media/base/channel_layout.h" | 15 #include "media/base/channel_layout.h" |
14 #include "media/base/stream_parser_buffer.h" | 16 #include "media/base/stream_parser_buffer.h" |
15 #include "media/base/timestamp_constants.h" | 17 #include "media/base/timestamp_constants.h" |
16 #include "media/formats/common/offset_byte_queue.h" | 18 #include "media/formats/common/offset_byte_queue.h" |
(...skipping 234 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
251 // Audio config notification. | 253 // Audio config notification. |
252 last_audio_decoder_config_ = audio_decoder_config; | 254 last_audio_decoder_config_ = audio_decoder_config; |
253 new_audio_config_cb_.Run(audio_decoder_config); | 255 new_audio_config_cb_.Run(audio_decoder_config); |
254 } | 256 } |
255 | 257 |
256 return true; | 258 return true; |
257 } | 259 } |
258 | 260 |
259 } // namespace mp2t | 261 } // namespace mp2t |
260 } // namespace media | 262 } // namespace media |
OLD | NEW |