| Index: media/base/android/url_demuxer_stream.cc
|
| diff --git a/media/base/android/url_demuxer_stream.cc b/media/base/android/url_demuxer_stream.cc
|
| new file mode 100644
|
| index 0000000000000000000000000000000000000000..165eb61b8bc24d822923a077bebf6858f1336a66
|
| --- /dev/null
|
| +++ b/media/base/android/url_demuxer_stream.cc
|
| @@ -0,0 +1,55 @@
|
| +// Copyright 2016 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/url_demuxer_stream.h"
|
| +
|
| +#include "base/logging.h"
|
| +#include "base/memory/ptr_util.h"
|
| +#include "media/base/audio_decoder_config.h"
|
| +#include "media/base/video_decoder_config.h"
|
| +
|
| +namespace media {
|
| +
|
| +UrlDemuxerStream::UrlDemuxerStream(const GURL& url) : url_(url) {}
|
| +
|
| +UrlDemuxerStream::~UrlDemuxerStream() {}
|
| +
|
| +void UrlDemuxerStream::Read(const ReadCB& read_cb) {
|
| + NOTREACHED();
|
| +}
|
| +
|
| +AudioDecoderConfig UrlDemuxerStream::audio_decoder_config() {
|
| + NOTREACHED();
|
| + return AudioDecoderConfig();
|
| +}
|
| +
|
| +VideoDecoderConfig UrlDemuxerStream::video_decoder_config() {
|
| + NOTREACHED();
|
| + return VideoDecoderConfig();
|
| +}
|
| +
|
| +DemuxerStream::Type UrlDemuxerStream::type() const {
|
| + return DemuxerStream::Type::URL;
|
| +}
|
| +
|
| +DemuxerStream::Liveness UrlDemuxerStream::liveness() const {
|
| + NOTREACHED();
|
| + return Liveness::LIVENESS_UNKNOWN;
|
| +}
|
| +
|
| +void UrlDemuxerStream::EnableBitstreamConverter() {
|
| + NOTREACHED();
|
| +}
|
| +
|
| +bool UrlDemuxerStream::SupportsConfigChanges() {
|
| + NOTREACHED();
|
| + return false;
|
| +}
|
| +
|
| +VideoRotation UrlDemuxerStream::video_rotation() {
|
| + NOTREACHED();
|
| + return VideoRotation::VIDEO_ROTATION_0;
|
| +}
|
| +
|
| +} // namespace media
|
|
|