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

Unified Diff: media/base/video_codecs.cc

Issue 2550413003: Recognize codec id vp9.2 as VP9 profile 2 (Closed)
Patch Set: rebase Created 4 years 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 d1b9b6974e4c9073110a05f11db08fe4146d3f23..fca1b33229647b0dbdd11dc4008976b2dbb3c218 100644
--- a/media/base/video_codecs.cc
+++ b/media/base/video_codecs.cc
@@ -166,6 +166,12 @@ bool ParseLegacyVp9CodecID(const std::string& codec_id,
*level_idc = 0;
return true;
}
+ if (codec_id == "vp9.2") {
ddorwin 2016/12/08 02:08:01 We need to address https://crbug.com/672240.
+ *profile = VP9PROFILE_PROFILE2;
+ // Use 0 to indicate unknown level.
+ *level_idc = 0;
+ return true;
+ }
return false;
}

Powered by Google App Engine
This is Rietveld 408576698