summaryrefslogtreecommitdiffstats
path: root/media/base/android/demuxer_stream_player_params.cc
blob: 3ed1a8c4463071e7040bddf24cebc8e206200480 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
// Copyright (c) 2013 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.

#include "media/base/android/demuxer_stream_player_params.h"

namespace media {

MediaPlayerHostMsg_DemuxerReady_Params::
    MediaPlayerHostMsg_DemuxerReady_Params()
    : audio_codec(kUnknownAudioCodec),
      audio_channels(0),
      audio_sampling_rate(0),
      is_audio_encrypted(false),
      video_codec(kUnknownVideoCodec),
      is_video_encrypted(false),
      duration_ms(0) {}

MediaPlayerHostMsg_DemuxerReady_Params::
    ~MediaPlayerHostMsg_DemuxerReady_Params() {}

MediaPlayerHostMsg_ReadFromDemuxerAck_Params::
    MediaPlayerHostMsg_ReadFromDemuxerAck_Params()
    : type(DemuxerStream::UNKNOWN) {}

MediaPlayerHostMsg_ReadFromDemuxerAck_Params::
    ~MediaPlayerHostMsg_ReadFromDemuxerAck_Params() {}

MediaPlayerHostMsg_ReadFromDemuxerAck_Params::AccessUnit::AccessUnit()
    : end_of_stream(false) {}

MediaPlayerHostMsg_ReadFromDemuxerAck_Params::AccessUnit::~AccessUnit() {}

}  // namespace media