Index: remoting/protocol/video_reader.cc |
diff --git a/remoting/protocol/video_reader.cc b/remoting/protocol/video_reader.cc |
index 8fd3afe5eb53dccd5deab9ebdc0d07b16b3b41b3..0dfa10ac02157f73661d5af103456fd40d224360 100644 |
--- a/remoting/protocol/video_reader.cc |
+++ b/remoting/protocol/video_reader.cc |
@@ -19,6 +19,9 @@ scoped_ptr<VideoReader> VideoReader::Create(const SessionConfig& config) { |
if (video_config.codec == ChannelConfig::CODEC_VP8) { |
return scoped_ptr<VideoReader>( |
new ProtobufVideoReader(VideoPacketFormat::ENCODING_VP8)); |
+ } else if (video_config.codec == ChannelConfig::CODEC_VP9) { |
+ return scoped_ptr<VideoReader>( |
+ new ProtobufVideoReader(VideoPacketFormat::ENCODING_VP9)); |
} else if (video_config.codec == ChannelConfig::CODEC_ZIP) { |
return scoped_ptr<VideoReader>( |
new ProtobufVideoReader(VideoPacketFormat::ENCODING_ZLIB)); |