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

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

Issue 2677143003: [Chromecast] Introduce a MediaCapabilitiesShlib::IsSupportedAudioConfig (Closed)
Patch Set: Created 3 years, 10 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/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
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
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698