| Index: remoting/host/capturer.cc
|
| diff --git a/remoting/host/capturer.cc b/remoting/host/capturer.cc
|
| index 9e63041fa4a9cc4def1a11ac7a22e6f02563343a..b66e577260909e1a72fc60740145ec6ec4bcc03c 100644
|
| --- a/remoting/host/capturer.cc
|
| +++ b/remoting/host/capturer.cc
|
| @@ -13,7 +13,7 @@ namespace remoting {
|
| Capturer::Capturer()
|
| : width_(0),
|
| height_(0),
|
| - pixel_format_(PIXEL_FORMAT_INVALID),
|
| + pixel_format_(media::VideoFrame::INVALID),
|
| bytes_per_row_(0),
|
| current_buffer_(0) {
|
| }
|
| @@ -21,6 +21,21 @@ Capturer::Capturer()
|
| Capturer::~Capturer() {
|
| }
|
|
|
| +// Return the width of the screen.
|
| +int Capturer::width() const {
|
| + return width_;
|
| +}
|
| +
|
| +// Return the height of the screen.
|
| +int Capturer::height() const {
|
| + return height_;
|
| +}
|
| +
|
| +// Return the pixel format of the screen.
|
| +media::VideoFrame::Format Capturer::pixel_format() const {
|
| + return pixel_format_;
|
| +}
|
| +
|
| void Capturer::ClearInvalidRects() {
|
| AutoLock auto_inval_rects_lock(inval_rects_lock_);
|
| inval_rects_.clear();
|
|
|