diff options
author | garykac@google.com <garykac@google.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-11-11 01:14:25 +0000 |
---|---|---|
committer | garykac@google.com <garykac@google.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-11-11 01:14:25 +0000 |
commit | f125056d7d160a80fb3f0192fa7149b533cf48e3 (patch) | |
tree | 2406f57987091683882f55efcdefa93bc9efc38d /remoting/host | |
parent | 0727bbcf8e4f2120b4957c2b20da9f73173fb3d3 (diff) | |
download | chromium_src-f125056d7d160a80fb3f0192fa7149b533cf48e3.zip chromium_src-f125056d7d160a80fb3f0192fa7149b533cf48e3.tar.gz chromium_src-f125056d7d160a80fb3f0192fa7149b533cf48e3.tar.bz2 |
Fix Windows Chromoting host by setting pixel format.
BUG=none
TEST=build/test windows connection
Review URL: http://codereview.chromium.org/4774001
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@65752 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'remoting/host')
-rw-r--r-- | remoting/host/capturer_gdi.cc | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/remoting/host/capturer_gdi.cc b/remoting/host/capturer_gdi.cc index 0a06de4..8e1a375 100644 --- a/remoting/host/capturer_gdi.cc +++ b/remoting/host/capturer_gdi.cc @@ -57,6 +57,7 @@ void CapturerGdi::ScreenConfigurationChanged() { int rounded_width = (width_ + 3) & (~3); // Dimensions of screen. + pixel_format_ = media::VideoFrame::RGB32; bytes_per_row_ = rounded_width * kBytesPerPixel; // Create a differ for this screen size. |