Index: remoting/codec/video_decoder.h |
diff --git a/remoting/codec/video_decoder.h b/remoting/codec/video_decoder.h |
index b3048a90885bbc72f1d60e8b0164d4db835b9cf6..378abb0098cd9d6697ce60a6e0f04ec682bb5943 100644 |
--- a/remoting/codec/video_decoder.h |
+++ b/remoting/codec/video_decoder.h |
@@ -18,6 +18,7 @@ namespace remoting { |
// Interface for a decoder that takes a stream of bytes from the network and |
// outputs frames of data. |
+// TODO(sergeyu): Simplify this interface. |
class VideoDecoder { |
public: |
static const int kBytesPerPixel = 4; |
@@ -25,10 +26,6 @@ class VideoDecoder { |
VideoDecoder() {} |
virtual ~VideoDecoder() {} |
- // Initializes the decoder and sets the output dimensions. |
- // |screen size| must not be empty. |
- virtual void Initialize(const webrtc::DesktopSize& screen_size) = 0; |
- |
// Feeds more data into the decoder. Returns true if |packet| was processed |
// and the frame can be displayed now. |
virtual bool DecodePacket(const VideoPacket& packet) = 0; |