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

Unified Diff: content/renderer/pepper/content_decryptor_delegate.cc

Issue 418193003: Using PROFILE_ANY for vp8 and vp9 (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 5 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: content/renderer/pepper/content_decryptor_delegate.cc
diff --git a/content/renderer/pepper/content_decryptor_delegate.cc b/content/renderer/pepper/content_decryptor_delegate.cc
index 8692c1ce643083c62c82c86f1eb47dafc616054a..bbbb165dc53fc562ec7c7540f45e04c4e65b0344 100644
--- a/content/renderer/pepper/content_decryptor_delegate.cc
+++ b/content/renderer/pepper/content_decryptor_delegate.cc
@@ -163,8 +163,8 @@ PP_VideoCodecProfile MediaVideoCodecProfileToPpVideoCodecProfile(
switch (profile) {
// TODO(xhwang): VP8 and VP9 do not have profiles. Clean up
// media::VideoCodecProfile and remove these two cases.
xhwang 2014/07/30 21:21:40 This TODO can be removed now.
- case media::VP8PROFILE_MAIN:
- case media::VP9PROFILE_MAIN:
+ case media::VP8PROFILE_NOT_NEEDED:
+ case media::VP9PROFILE_NOT_NEEDED:
return PP_VIDEOCODECPROFILE_NOT_NEEDED;
case media::H264PROFILE_BASELINE:
return PP_VIDEOCODECPROFILE_H264_BASELINE;

Powered by Google App Engine
This is Rietveld 408576698