Index: remoting/codec/video_encoder.h |
diff --git a/remoting/codec/video_encoder.h b/remoting/codec/video_encoder.h |
index f0f8a2fc27d4a4091f8867b00241bac7c3768cbd..f497eb3b4c3839b6acad5a7968d35f70c2ee8d04 100644 |
--- a/remoting/codec/video_encoder.h |
+++ b/remoting/codec/video_encoder.h |
@@ -21,6 +21,10 @@ class VideoEncoder { |
public: |
virtual ~VideoEncoder() {} |
+ // Request that the encoder provide lossless encoding, or color, if possible. |
+ virtual void SetLosslessEncode(bool want_lossless) {} |
+ virtual void SetLosslessColor(bool want_lossless) {} |
+ |
// Encode an image stored in |frame|. |
virtual scoped_ptr<VideoPacket> Encode(const webrtc::DesktopFrame& frame) = 0; |
}; |