OLD | NEW |
1 // Copyright 2016 The Chromium Authors. All rights reserved. | 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 | 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 "base/logging.h" | 5 #include "base/logging.h" |
6 #include "chromecast/public/cast_media_shlib.h" | 6 #include "chromecast/public/cast_media_shlib.h" |
7 #include "chromecast/public/media/media_capabilities_shlib.h" | 7 #include "chromecast/public/media/media_capabilities_shlib.h" |
8 #include "chromecast/public/media_codec_support_shlib.h" | 8 #include "chromecast/public/media_codec_support_shlib.h" |
9 | 9 |
10 namespace chromecast { | 10 namespace chromecast { |
11 namespace media { | 11 namespace media { |
12 | 12 |
13 void CastMediaShlib::Initialize(const std::vector<std::string>& argv) { | 13 void CastMediaShlib::Initialize(const std::vector<std::string>& argv) {} |
14 } | |
15 | 14 |
16 void CastMediaShlib::Finalize() { | 15 void CastMediaShlib::Finalize() {} |
17 } | |
18 | 16 |
19 VideoPlane* CastMediaShlib::GetVideoPlane() { | 17 VideoPlane* CastMediaShlib::GetVideoPlane() { |
20 return nullptr; | 18 return nullptr; |
21 } | 19 } |
22 | 20 |
23 MediaPipelineBackend* CastMediaShlib::CreateMediaPipelineBackend( | 21 MediaPipelineBackend* CastMediaShlib::CreateMediaPipelineBackend( |
24 const MediaPipelineDeviceParams& params) { | 22 const MediaPipelineDeviceParams& params) { |
25 return nullptr; | 23 return nullptr; |
26 } | 24 } |
27 | 25 |
(...skipping 24 matching lines...) Expand all Loading... |
52 bool MediaCapabilitiesShlib::IsSupportedVideoConfig(VideoCodec codec, | 50 bool MediaCapabilitiesShlib::IsSupportedVideoConfig(VideoCodec codec, |
53 VideoProfile profile, | 51 VideoProfile profile, |
54 int level) { | 52 int level) { |
55 // TODO(sanfin): implement this. | 53 // TODO(sanfin): implement this. |
56 LOG(INFO) << "IsSupportedVideoConfig not supported, returning true"; | 54 LOG(INFO) << "IsSupportedVideoConfig not supported, returning true"; |
57 return true; | 55 return true; |
58 } | 56 } |
59 | 57 |
60 } // namespace media | 58 } // namespace media |
61 } // namespace chromecast | 59 } // namespace chromecast |
OLD | NEW |