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) {} | 16 duration(base::TimeDelta()) {} |
damienv1
2014/04/16 22:01:00
Could be simply removed: duration will use the def
gunsch
2014/04/16 22:05:18
Done.
| |
17 | 17 |
18 DemuxerConfigs::~DemuxerConfigs() {} | 18 DemuxerConfigs::~DemuxerConfigs() {} |
19 | 19 |
20 AccessUnit::AccessUnit() : end_of_stream(false) {} | 20 AccessUnit::AccessUnit() : end_of_stream(false) {} |
21 | 21 |
22 AccessUnit::~AccessUnit() {} | 22 AccessUnit::~AccessUnit() {} |
23 | 23 |
24 DemuxerData::DemuxerData() : type(DemuxerStream::UNKNOWN) {} | 24 DemuxerData::DemuxerData() : type(DemuxerStream::UNKNOWN) {} |
25 | 25 |
26 DemuxerData::~DemuxerData() {} | 26 DemuxerData::~DemuxerData() {} |
27 | 27 |
28 } // namespace media | 28 } // namespace media |
OLD | NEW |