Chromium Code Reviews| 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/decoder_config.h" | 7 #include "chromecast/public/media/decoder_config.h" | 
| 8 #include "chromecast/public/media/media_capabilities_shlib.h" | 8 #include "chromecast/public/media/media_capabilities_shlib.h" | 
| 9 #include "chromecast/public/media_codec_support_shlib.h" | 9 #include "chromecast/public/media_codec_support_shlib.h" | 
| 10 | 10 | 
| (...skipping 39 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 50 | 50 | 
| 51 bool MediaCapabilitiesShlib::IsSupportedVideoConfig(VideoCodec codec, | 51 bool MediaCapabilitiesShlib::IsSupportedVideoConfig(VideoCodec codec, | 
| 52 VideoProfile profile, | 52 VideoProfile profile, | 
| 53 int level) { | 53 int level) { | 
| 54 // This should not be called directly. | 54 // This should not be called directly. | 
| 55 NOTREACHED() << "Unexpected call to " | 55 NOTREACHED() << "Unexpected call to " | 
| 56 << "MediaCapabilitiesShlib::IsSupportedVideoConfig on Android"; | 56 << "MediaCapabilitiesShlib::IsSupportedVideoConfig on Android"; | 
| 57 return false; | 57 return false; | 
| 58 } | 58 } | 
| 59 | 59 | 
| 60 bool MediaCapabilitiesShlib::IsSupportedAudioConfig(const AudioConfig& config) { | |
| 61 // TODO(sanfin,tsunghung): implement this. | |
| 62 LOG(INFO) << "IsSupportedAudioConfig not supported, returning true"; | |
| 63 return true; | |
| 
 
halliwell
2017/03/24 14:34:37
Should this part be NOTREACHED, i.e. work consiste
 
servolk
2017/03/29 17:35:44
Done.
 
 | |
| 64 } | |
| 65 | |
| 60 } // namespace media | 66 } // namespace media | 
| 61 } // namespace chromecast | 67 } // namespace chromecast | 
| OLD | NEW |