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

Unified Diff: chromecast/media/cma/base/decoder_config_adapter.cc

Issue 1769593002: Add 4 VP9 profiles to the media::VideoCodecProfile enum. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@hevc-codec-7
Patch Set: Added some comments and dchecks Created 4 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 | « no previous file | chromecast/public/media/decoder_config.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chromecast/media/cma/base/decoder_config_adapter.cc
diff --git a/chromecast/media/cma/base/decoder_config_adapter.cc b/chromecast/media/cma/base/decoder_config_adapter.cc
index 24e8b41e8fcc11607e5488482c24f5a6feb26387..fa29bde77ba37584588cc2972059d211f28580d1 100644
--- a/chromecast/media/cma/base/decoder_config_adapter.cc
+++ b/chromecast/media/cma/base/decoder_config_adapter.cc
@@ -110,8 +110,14 @@ VideoProfile ToVideoProfile(const ::media::VideoCodecProfile codec_profile) {
return kH264MultiviewHigh;
case ::media::VP8PROFILE_ANY:
return kVP8ProfileAny;
- case ::media::VP9PROFILE_ANY:
- return kVP9ProfileAny;
+ case ::media::VP9PROFILE_PROFILE0:
+ return kVP9Profile0;
+ case ::media::VP9PROFILE_PROFILE1:
+ return kVP9Profile1;
+ case ::media::VP9PROFILE_PROFILE2:
+ return kVP9Profile2;
+ case ::media::VP9PROFILE_PROFILE3:
+ return kVP9Profile3;
default:
LOG(INFO) << "Unsupported video codec profile " << codec_profile;
}
« no previous file with comments | « no previous file | chromecast/public/media/decoder_config.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698