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