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

Unified Diff: remoting/host/client_session.cc

Issue 28183002: Add VP9 encode support to the remoting host. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Rebase. Created 7 years, 2 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: remoting/host/client_session.cc
diff --git a/remoting/host/client_session.cc b/remoting/host/client_session.cc
index 1a5e36b2a05c168ade68ceb55594d39f4f7e8aad..28acb5d7adcbabc5d31a0650eeb901be6208e237 100644
--- a/remoting/host/client_session.cc
+++ b/remoting/host/client_session.cc
@@ -428,6 +428,8 @@ scoped_ptr<VideoEncoder> ClientSession::CreateVideoEncoder(
if (video_config.codec == protocol::ChannelConfig::CODEC_VP8) {
return remoting::VideoEncoderVpx::CreateForVP8().PassAs<VideoEncoder>();
+ } else if (video_config.codec == protocol::ChannelConfig::CODEC_VP9) {
+ return remoting::VideoEncoderVpx::CreateForVP9().PassAs<VideoEncoder>();
}
NOTREACHED();
« remoting/codec/video_encoder_vpx.cc ('K') | « remoting/codec/video_encoder_vpx_unittest.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698