Index: remoting/codec/video_encoder.h |
diff --git a/remoting/codec/video_encoder.h b/remoting/codec/video_encoder.h |
index 3cd24837fbc6140cd4b11109c9b01bcc6f89fe79..61318e33e3ca3a2084da00d9a69c22961d4d6ed2 100644 |
--- a/remoting/codec/video_encoder.h |
+++ b/remoting/codec/video_encoder.h |
@@ -23,7 +23,6 @@ class VideoPacket; |
// interface is asynchronous to enable maximum throughput. |
class VideoEncoder { |
public: |
- enum Flags { REQUEST_KEY_FRAME = 1 << 0 }; |
virtual ~VideoEncoder() {} |
// Request that the encoder provide lossless encoding, or color, if possible. |
@@ -34,12 +33,11 @@ class VideoEncoder { |
// then the encoder may return a packet (e.g. to top-off previously-encoded |
// portions of the frame to higher quality) or return nullptr to indicate that |
// there is no work to do. |
- virtual std::unique_ptr<VideoPacket> Encode(const webrtc::DesktopFrame& frame, |
- uint32_t flags) = 0; |
+ virtual std::unique_ptr<VideoPacket> Encode( |
+ const webrtc::DesktopFrame& frame) = 0; |
static std::unique_ptr<VideoEncoder> Create( |
const protocol::SessionConfig& config); |
- virtual void UpdateTargetBitrate(int bitrate_kbps) {} |
}; |
} // namespace remoting |