OLD | NEW |
1 // Copyright (c) 2013 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2013 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/base/android/demuxer_stream_player_params.h" | 5 #include "media/base/android/demuxer_stream_player_params.h" |
6 | 6 |
7 namespace media { | 7 namespace media { |
8 | 8 |
9 DemuxerConfigs::DemuxerConfigs() | 9 DemuxerConfigs::DemuxerConfigs() |
10 : audio_codec(kUnknownAudioCodec), | 10 : audio_codec(kUnknownAudioCodec), |
11 audio_channels(0), | 11 audio_channels(0), |
12 audio_sampling_rate(0), | 12 audio_sampling_rate(0), |
13 is_audio_encrypted(false), | 13 is_audio_encrypted(false), |
14 video_codec(kUnknownVideoCodec), | 14 video_codec(kUnknownVideoCodec), |
15 is_video_encrypted(false), | 15 is_video_encrypted(false) {} |
16 duration_ms(0) {} | |
17 | 16 |
18 DemuxerConfigs::~DemuxerConfigs() {} | 17 DemuxerConfigs::~DemuxerConfigs() {} |
19 | 18 |
20 AccessUnit::AccessUnit() : end_of_stream(false) {} | 19 AccessUnit::AccessUnit() : end_of_stream(false) {} |
21 | 20 |
22 AccessUnit::~AccessUnit() {} | 21 AccessUnit::~AccessUnit() {} |
23 | 22 |
24 DemuxerData::DemuxerData() : type(DemuxerStream::UNKNOWN) {} | 23 DemuxerData::DemuxerData() : type(DemuxerStream::UNKNOWN) {} |
25 | 24 |
26 DemuxerData::~DemuxerData() {} | 25 DemuxerData::~DemuxerData() {} |
27 | 26 |
28 } // namespace media | 27 } // namespace media |
OLD | NEW |