| 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 "base/logging.h" | |
| 6 #include "chromecast/public/cast_media_shlib.h" | |
| 7 #include "chromecast/public/media/media_capabilities_shlib.h" | |
| 8 #include "chromecast/public/media_codec_support_shlib.h" | |
| 9 | |
| 10 namespace chromecast { | |
| 11 namespace media { | |
| 12 | |
| 13 void CastMediaShlib::Initialize(const std::vector<std::string>& argv) { | |
| 14 } | |
| 15 | |
| 16 void CastMediaShlib::Finalize() { | |
| 17 } | |
| 18 | |
| 19 VideoPlane* CastMediaShlib::GetVideoPlane() { | |
| 20 return nullptr; | |
| 21 } | |
| 22 | |
| 23 MediaPipelineBackend* CastMediaShlib::CreateMediaPipelineBackend( | |
| 24 const MediaPipelineDeviceParams& params) { | |
| 25 return nullptr; | |
| 26 } | |
| 27 | |
| 28 MediaCodecSupportShlib::CodecSupport MediaCodecSupportShlib::IsSupported( | |
| 29 const std::string& codec) { | |
| 30 return kDefault; | |
| 31 } | |
| 32 | |
| 33 double CastMediaShlib::GetMediaClockRate() { | |
| 34 return 0.0; | |
| 35 } | |
| 36 | |
| 37 double CastMediaShlib::MediaClockRatePrecision() { | |
| 38 return 0.0; | |
| 39 } | |
| 40 | |
| 41 void CastMediaShlib::MediaClockRateRange(double* minimum_rate, | |
| 42 double* maximum_rate) {} | |
| 43 | |
| 44 bool CastMediaShlib::SetMediaClockRate(double new_rate) { | |
| 45 return false; | |
| 46 } | |
| 47 | |
| 48 bool CastMediaShlib::SupportsMediaClockRateChange() { | |
| 49 return false; | |
| 50 } | |
| 51 | |
| 52 bool MediaCapabilitiesShlib::IsSupportedVideoConfig(VideoCodec codec, | |
| 53 VideoProfile profile, | |
| 54 int level) { | |
| 55 // TODO(sanfin): implement this. | |
| 56 LOG(INFO) << "IsSupportedVideoConfig not supported, returning true"; | |
| 57 return true; | |
| 58 } | |
| 59 | |
| 60 } // namespace media | |
| 61 } // namespace chromecast | |
| OLD | NEW |