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

Unified Diff: remoting/client/rectangle_update_decoder.cc

Issue 10873047: Renamed Decoder -> VideoDecoder. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 4 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/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();
}

Powered by Google App Engine
This is Rietveld 408576698