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

Unified Diff: content/renderer/media/gpu/rtc_video_decoder.cc

Issue 2666273003: Enable VP9 support in WebRTC HW encoder and decoders (Closed)
Patch Set: Created 3 years, 11 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 | « no previous file | content/renderer/media/gpu/rtc_video_encoder.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/renderer/media/gpu/rtc_video_decoder.cc
diff --git a/content/renderer/media/gpu/rtc_video_decoder.cc b/content/renderer/media/gpu/rtc_video_decoder.cc
index 01c136c11d2846202f87455e018205c51cd0318f..8564111a8c1bb3373f646011ef12b6300b766f3b 100644
--- a/content/renderer/media/gpu/rtc_video_decoder.cc
+++ b/content/renderer/media/gpu/rtc_video_decoder.cc
@@ -110,6 +110,9 @@ std::unique_ptr<RTCVideoDecoder> RTCVideoDecoder::Create(
case webrtc::kVideoCodecVP8:
profile = media::VP8PROFILE_ANY;
break;
+ case webrtc::kVideoCodecVP9:
+ profile = media::VP9PROFILE_MIN;
Pawel Osciak 2017/02/02 00:48:13 Would VP9PROFILE_PROFILE0 be better here perhaps?
emircan 2017/02/03 18:11:30 They are the same enum value. I can change again i
+ break;
case webrtc::kVideoCodecH264:
profile = media::H264PROFILE_MAIN;
break;
« no previous file with comments | « no previous file | content/renderer/media/gpu/rtc_video_encoder.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698