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

Unified Diff: media/base/video_codecs.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: Better TODOs 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
Index: media/base/video_codecs.cc
diff --git a/media/base/video_codecs.cc b/media/base/video_codecs.cc
index a2616eece0c754a7608de0ed40fbd8b03249cd0d..204b2352c36f3b364afc1abff65816f7bfbb0604 100644
--- a/media/base/video_codecs.cc
+++ b/media/base/video_codecs.cc
@@ -71,8 +71,14 @@ std::string GetProfileName(VideoCodecProfile profile) {
return "hevc main still-picture";
case VP8PROFILE_ANY:
return "vp8";
- case VP9PROFILE_ANY:
- return "vp9";
+ case VP9PROFILE_PROFILE0:
+ return "vp9 profile0";
+ case VP9PROFILE_PROFILE1:
+ return "vp9 profile1";
+ case VP9PROFILE_PROFILE2:
+ return "vp9 profile2";
+ case VP9PROFILE_PROFILE3:
+ return "vp9 profile3";
}
NOTREACHED();
return "";

Powered by Google App Engine
This is Rietveld 408576698