| Index: remoting/client/rectangle_update_decoder.cc
|
| diff --git a/remoting/client/rectangle_update_decoder.cc b/remoting/client/rectangle_update_decoder.cc
|
| index 16638ad139efdbadd80d39a67048546313af51f3..0fb253b3e5ae6bd37f42828cceafda23ef4a3714 100644
|
| --- a/remoting/client/rectangle_update_decoder.cc
|
| +++ b/remoting/client/rectangle_update_decoder.cc
|
| @@ -43,11 +43,11 @@ void RectangleUpdateDecoder::Initialize(const SessionConfig& config) {
|
| // Initialize decoder based on the selected codec.
|
| ChannelConfig::Codec codec = config.video_config().codec;
|
| if (codec == ChannelConfig::CODEC_VERBATIM) {
|
| - decoder_.reset(DecoderRowBased::CreateVerbatimDecoder());
|
| + decoder_.reset(VideoDecoderRowBased::CreateVerbatimDecoder());
|
| } else if (codec == ChannelConfig::CODEC_ZIP) {
|
| - decoder_.reset(DecoderRowBased::CreateZlibDecoder());
|
| + decoder_.reset(VideoDecoderRowBased::CreateZlibDecoder());
|
| } else if (codec == ChannelConfig::CODEC_VP8) {
|
| - decoder_.reset(new DecoderVp8());
|
| + decoder_.reset(new VideoDecoderVp8());
|
| } else {
|
| NOTREACHED() << "Invalid Encoding found: " << codec;
|
| }
|
| @@ -101,7 +101,7 @@ void RectangleUpdateDecoder::DecodePacket(scoped_ptr<VideoPacket> packet,
|
| return;
|
| }
|
|
|
| - if (decoder_->DecodePacket(packet.get()) == Decoder::DECODE_DONE)
|
| + if (decoder_->DecodePacket(packet.get()) == VideoDecoder::DECODE_DONE)
|
| SchedulePaint();
|
| }
|
|
|
|
|