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

Unified Diff: media/base/mime_util_internal.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/mime_util_internal.cc
diff --git a/media/base/mime_util_internal.cc b/media/base/mime_util_internal.cc
index 031d548c7ced5e5e9b85f3f1d36481a2d751d4e7..fe463be566be29747ba66d43a68f8d2ec1a9ec6c 100644
--- a/media/base/mime_util_internal.cc
+++ b/media/base/mime_util_internal.cc
@@ -618,6 +618,9 @@ bool MimeUtil::StringToCodec(const std::string& mime_type_lower_case,
// Profile 0 should always be supported if VP9 is supported.
*is_ambiguous = false;
break;
+ case VP9PROFILE_PROFILE2:
+ *is_ambiguous = false;
+ break;
default:
// We don't know if the underlying platform supports these profiles.
ddorwin 2016/12/08 02:08:01 This statement does not seem true anymore. IsSuppo
// Need to add platform level querying to get supported profiles

Powered by Google App Engine
This is Rietveld 408576698