Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(142)

Side by Side Diff: chromecast/media/cma/backend/cast_media_android.cc

Issue 2677143003: [Chromecast] Introduce a MediaCapabilitiesShlib::IsSupportedAudioConfig (Closed)
Patch Set: rebase Created 3 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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
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
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698