diff options
Diffstat (limited to 'remoting/base/encoder_verbatim.h')
-rw-r--r-- | remoting/base/encoder_verbatim.h | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/remoting/base/encoder_verbatim.h b/remoting/base/encoder_verbatim.h index 10fa7ac..81d109d 100644 --- a/remoting/base/encoder_verbatim.h +++ b/remoting/base/encoder_verbatim.h @@ -31,15 +31,14 @@ class EncoderVerbatim : public Encoder { void EncodeRect(const gfx::Rect& rect, size_t rect_index); // Marks a packets as the first in a series of rectangle updates. - void PrepareUpdateStart(const gfx::Rect& rect, - RectangleUpdatePacket* update); + void PrepareUpdateStart(const gfx::Rect& rect, VideoPacket* packet); // Retrieves a pointer to the output buffer in |update| used for storing the // encoded rectangle data. Will resize the buffer to |size|. - uint8* GetOutputBuffer(RectangleUpdatePacket* update, size_t size); + uint8* GetOutputBuffer(VideoPacket* packet, size_t size); // Submit |message| to |callback_|. - void SubmitMessage(ChromotingHostMessage* message, size_t rect_index); + void SubmitMessage(VideoPacket* packet, size_t rect_index); scoped_refptr<CaptureData> capture_data_; scoped_ptr<DataAvailableCallback> callback_; |