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

Side by Side Diff: media/base/android/demuxer_stream_player_params.cc

Issue 239743005: Updates WebMediaPlayerAndroid and MediaSourceDelegate to respect (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 8 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
OLDNEW
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
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698