OLD | NEW |
(Empty) | |
| 1 // Copyright 2016 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. |
| 4 |
| 5 #include "media/base/android/url_demuxer_stream.h" |
| 6 |
| 7 #include "base/logging.h" |
| 8 #include "base/memory/ptr_util.h" |
| 9 #include "media/base/audio_decoder_config.h" |
| 10 #include "media/base/video_decoder_config.h" |
| 11 |
| 12 namespace media { |
| 13 |
| 14 UrlDemuxerStream::UrlDemuxerStream(const GURL& url) : url_(url) {} |
| 15 |
| 16 UrlDemuxerStream::~UrlDemuxerStream() {} |
| 17 |
| 18 void UrlDemuxerStream::Read(const ReadCB& read_cb) { |
| 19 NOTREACHED(); |
| 20 } |
| 21 |
| 22 AudioDecoderConfig UrlDemuxerStream::audio_decoder_config() { |
| 23 NOTREACHED(); |
| 24 return AudioDecoderConfig(); |
| 25 } |
| 26 |
| 27 VideoDecoderConfig UrlDemuxerStream::video_decoder_config() { |
| 28 NOTREACHED(); |
| 29 return VideoDecoderConfig(); |
| 30 } |
| 31 |
| 32 DemuxerStream::Type UrlDemuxerStream::type() const { |
| 33 return DemuxerStream::Type::URL; |
| 34 } |
| 35 |
| 36 DemuxerStream::Liveness UrlDemuxerStream::liveness() const { |
| 37 NOTREACHED(); |
| 38 return Liveness::LIVENESS_UNKNOWN; |
| 39 } |
| 40 |
| 41 void UrlDemuxerStream::EnableBitstreamConverter() { |
| 42 NOTREACHED(); |
| 43 } |
| 44 |
| 45 bool UrlDemuxerStream::SupportsConfigChanges() { |
| 46 NOTREACHED(); |
| 47 return false; |
| 48 } |
| 49 |
| 50 VideoRotation UrlDemuxerStream::video_rotation() { |
| 51 NOTREACHED(); |
| 52 return VideoRotation::VIDEO_ROTATION_0; |
| 53 } |
| 54 |
| 55 } // namespace media |
OLD | NEW |