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

Unified Diff: remoting/host/capturer_fake.cc

Issue 4476003: Add VideoPacket struct for video packets. Refactor Decode interface to use it. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: merged Created 10 years, 1 month 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
« no previous file with comments | « remoting/host/capturer.cc ('k') | remoting/host/capturer_fake_ascii.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: remoting/host/capturer_fake.cc
diff --git a/remoting/host/capturer_fake.cc b/remoting/host/capturer_fake.cc
index 072f19a8cb1d35bd36319681225636bb1c4498d0..80f147abb15c6096f2b79a117f43d9f3b1cbe22c 100644
--- a/remoting/host/capturer_fake.cc
+++ b/remoting/host/capturer_fake.cc
@@ -38,7 +38,7 @@ CapturerFake::~CapturerFake() {
void CapturerFake::ScreenConfigurationChanged() {
width_ = kWidth;
height_ = kHeight;
- pixel_format_ = PIXEL_FORMAT_RGB32;
+ pixel_format_ = media::VideoFrame::RGB32;
bytes_per_row_ = width_ * kBytesPerPixel;
// Create memory for the buffers.
« no previous file with comments | « remoting/host/capturer.cc ('k') | remoting/host/capturer_fake_ascii.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698