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

Unified Diff: content/renderer/media/render_media_client.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
« no previous file with comments | « no previous file | media/base/mime_util_internal.cc » ('j') | media/base/mime_util_internal.cc » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/renderer/media/render_media_client.cc
diff --git a/content/renderer/media/render_media_client.cc b/content/renderer/media/render_media_client.cc
index 3c8d9e1d53e6922f3cef9e5f7090e8c611f874b7..8a5c7983a23801f08cfde50b11600c2f61d0f160 100644
--- a/content/renderer/media/render_media_client.cc
+++ b/content/renderer/media/render_media_client.cc
@@ -96,6 +96,9 @@ void RenderMediaClient::RecordRapporURL(const std::string& metric,
bool RenderMediaClient::IsSupportedVideoConfig(media::VideoCodec codec,
media::VideoCodecProfile profile,
int level) {
+ // Chrome doesn't support VP9 profile 2 yet.
+ if (codec == media::kCodecVP9 && profile == media::VP9PROFILE_PROFILE2)
ddorwin 2016/12/08 02:08:01 This can be in the switch statement. We'll need to
+ return false;
switch (codec) {
case media::kCodecH264:
case media::kCodecVP8:
« no previous file with comments | « no previous file | media/base/mime_util_internal.cc » ('j') | media/base/mime_util_internal.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698