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

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: 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 | « media/base/video_codecs.h ('k') | media/base/video_decoder_config.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: media/base/video_codecs.cc
diff --git a/media/base/video_codecs.cc b/media/base/video_codecs.cc
index 9e60cb66e900f4bfe92b4bc82c51b479f70962a8..a2221a35d3dead73d0a14019d165c30116fa7ed3 100644
--- a/media/base/video_codecs.cc
+++ b/media/base/video_codecs.cc
@@ -64,8 +64,14 @@ std::string GetProfileName(VideoCodecProfile profile) {
return "h264 multiview high";
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 "";
« no previous file with comments | « media/base/video_codecs.h ('k') | media/base/video_decoder_config.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698