| Index: remoting/base/decoder_row_based.h
|
| ===================================================================
|
| --- remoting/base/decoder_row_based.h (revision 64676)
|
| +++ remoting/base/decoder_row_based.h (working copy)
|
| @@ -24,7 +24,7 @@
|
| virtual void Initialize(scoped_refptr<media::VideoFrame> frame,
|
| const gfx::Rect& clip, int bytes_per_src_pixel);
|
| virtual void DecodeBytes(const std::string& encoded_bytes);
|
| - virtual VideoPacketFormat::Encoding Encoding() { return encoding_; }
|
| + virtual UpdateStreamEncoding Encoding() { return encoding_; }
|
|
|
| // TODO(hclam): Should make this into the Decoder interface.
|
| // TODO(ajwong): Before putting into the interface, we should decide if the
|
| @@ -32,8 +32,7 @@
|
| void set_reverse_rows(bool reverse) { reverse_rows_ = reverse; }
|
|
|
| private:
|
| - DecoderRowBased(Decompressor* decompressor,
|
| - VideoPacketFormat::Encoding encoding);
|
| + DecoderRowBased(Decompressor* decompressor, UpdateStreamEncoding encoding);
|
|
|
| enum State {
|
| kUninitialized,
|
| @@ -54,7 +53,7 @@
|
| scoped_ptr<Decompressor> decompressor_;
|
|
|
| // The encoding of the incoming stream.
|
| - VideoPacketFormat::Encoding encoding_;
|
| + UpdateStreamEncoding encoding_;
|
|
|
| // Number of bytes per pixel from source stream.
|
| int bytes_per_src_pixel_;
|
|
|