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

Unified Diff: chromecast/common/media/cast_media_client.cc

Issue 2723833002: WebM support for new multipart VP9 string. (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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « chromecast/common/media/cast_media_client.h ('k') | content/browser/media/media_canplaytype_browsertest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chromecast/common/media/cast_media_client.cc
diff --git a/chromecast/common/media/cast_media_client.cc b/chromecast/common/media/cast_media_client.cc
index af8110fd545f6b8f1fd10d806809873ea19971a4..f291babb7057be9ba0a02b61e105c8194bd84ac1 100644
--- a/chromecast/common/media/cast_media_client.cc
+++ b/chromecast/common/media/cast_media_client.cc
@@ -57,15 +57,17 @@ void CastMediaClient::RecordRapporURL(const std::string& metric,
}
// static
-bool CastMediaClient::IsSupportedVideoConfig(::media::VideoCodec codec,
- ::media::VideoCodecProfile profile,
- int level) {
+bool CastMediaClient::IsSupportedVideoConfig(
+ const ::media::VideoConfig& config) {
+// TODO(servolk): make use of eotf.
#if defined(OS_ANDROID)
return supported_profiles_->IsSupportedVideoConfig(
- ToCastVideoCodec(codec, profile), ToCastVideoProfile(profile), level);
+ ToCastVideoCodec(config.codec, config.profile),
+ ToCastVideoProfile(config.profile), config.level);
#else
return MediaCapabilitiesShlib::IsSupportedVideoConfig(
- ToCastVideoCodec(codec, profile), ToCastVideoProfile(profile), level);
+ ToCastVideoCodec(config.codec, config.profile),
+ ToCastVideoProfile(config.profile), config.level);
#endif
}
« no previous file with comments | « chromecast/common/media/cast_media_client.h ('k') | content/browser/media/media_canplaytype_browsertest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698