| 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 { |
| (...skipping 37 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 48 } | 48 } |
| 49 | 49 |
| 50 bool MediaCapabilitiesShlib::IsSupportedVideoConfig(VideoCodec codec, | 50 bool MediaCapabilitiesShlib::IsSupportedVideoConfig(VideoCodec codec, |
| 51 VideoProfile profile, | 51 VideoProfile profile, |
| 52 int level) { | 52 int level) { |
| 53 // TODO(sanfin): implement this. | 53 // TODO(sanfin): implement this. |
| 54 LOG(INFO) << "IsSupportedVideoConfig not supported, returning true"; | 54 LOG(INFO) << "IsSupportedVideoConfig not supported, returning true"; |
| 55 return true; | 55 return true; |
| 56 } | 56 } |
| 57 | 57 |
| 58 bool MediaCapabilitiesShlib::IsSupportedAudioConfig(const AudioConfig& config) { |
| 59 // TODO(sanfin,tsunghung): implement this. |
| 60 LOG(INFO) << "IsSupportedAudioConfig not supported, returning true"; |
| 61 return true; |
| 62 } |
| 63 |
| 58 } // namespace media | 64 } // namespace media |
| 59 } // namespace chromecast | 65 } // namespace chromecast |
| OLD | NEW |