diff options
author | sergeyu@chromium.org <sergeyu@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-10-18 03:26:53 +0000 |
---|---|---|
committer | sergeyu@chromium.org <sergeyu@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-10-18 03:26:53 +0000 |
commit | 2149befbff640e5a050bb50acdbbfd95501ab9b1 (patch) | |
tree | 6c60699960b23fdbf4d0f17fd3d83dc394156f44 /remoting/client/rectangle_update_decoder.cc | |
parent | fb03b64b14315feaf008e89bc3abeb0b0c2576c4 (diff) | |
download | chromium_src-2149befbff640e5a050bb50acdbbfd95501ab9b1.zip chromium_src-2149befbff640e5a050bb50acdbbfd95501ab9b1.tar.gz chromium_src-2149befbff640e5a050bb50acdbbfd95501ab9b1.tar.bz2 |
Remove ZLib codec support from chromoting host and client.
We were not using ZLIB codec anyway, so there is no reason to keep it around.
Review URL: https://chromiumcodereview.appspot.com/11195029
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@162635 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'remoting/client/rectangle_update_decoder.cc')
-rw-r--r-- | remoting/client/rectangle_update_decoder.cc | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/remoting/client/rectangle_update_decoder.cc b/remoting/client/rectangle_update_decoder.cc index 3a7fddc..4f301ce 100644 --- a/remoting/client/rectangle_update_decoder.cc +++ b/remoting/client/rectangle_update_decoder.cc @@ -13,7 +13,7 @@ #include "ppapi/cpp/image_data.h" #include "remoting/base/util.h" #include "remoting/codec/video_decoder.h" -#include "remoting/codec/video_decoder_row_based.h" +#include "remoting/codec/video_decoder_verbatim.h" #include "remoting/codec/video_decoder_vp8.h" #include "remoting/client/frame_consumer.h" #include "remoting/protocol/session_config.h" @@ -46,9 +46,7 @@ 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(VideoDecoderRowBased::CreateVerbatimDecoder()); - } else if (codec == ChannelConfig::CODEC_ZIP) { - decoder_.reset(VideoDecoderRowBased::CreateZlibDecoder()); + decoder_.reset(new VideoDecoderVerbatim()); } else if (codec == ChannelConfig::CODEC_VP8) { decoder_.reset(new VideoDecoderVp8()); } else { |