summaryrefslogtreecommitdiffstats
path: root/remoting/base
diff options
context:
space:
mode:
authorajwong@chromium.org <ajwong@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-10-21 20:05:01 +0000
committerajwong@chromium.org <ajwong@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-10-21 20:05:01 +0000
commit66980d85fefe26261b310f35375a31bb91abd0c3 (patch)
tree43298b3d634c9e7cc0b887b12f4ba42957d10253 /remoting/base
parent9d0b0fbfc061a1889ae18fbefa92f7b73b065750 (diff)
downloadchromium_src-66980d85fefe26261b310f35375a31bb91abd0c3.zip
chromium_src-66980d85fefe26261b310f35375a31bb91abd0c3.tar.gz
chromium_src-66980d85fefe26261b310f35375a31bb91abd0c3.tar.bz2
Implement basic X11 screen capture on linux.
BUG= TEST= Review URL: http://codereview.chromium.org/3801012 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@63401 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'remoting/base')
-rw-r--r--remoting/base/encoder_zlib.cc3
1 files changed, 2 insertions, 1 deletions
diff --git a/remoting/base/encoder_zlib.cc b/remoting/base/encoder_zlib.cc
index a36b8df..ddbe923 100644
--- a/remoting/base/encoder_zlib.cc
+++ b/remoting/base/encoder_zlib.cc
@@ -27,7 +27,8 @@ void EncoderZlib::Encode(scoped_refptr<CaptureData> capture_data,
bool key_frame,
DataAvailableCallback* data_available_callback) {
CHECK(capture_data->pixel_format() == PixelFormatRgb32)
- << "Zlib Encoder only works with RGB32";
+ << "Zlib Encoder only works with RGB32. Got "
+ << capture_data->pixel_format();
capture_data_ = capture_data;
callback_.reset(data_available_callback);