diff options
Diffstat (limited to 'Swiften/ScreenSharing/VP8Encoder.h')
-rw-r--r-- | Swiften/ScreenSharing/VP8Encoder.h | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/Swiften/ScreenSharing/VP8Encoder.h b/Swiften/ScreenSharing/VP8Encoder.h index 62a6ea8..8722f1b 100644 --- a/Swiften/ScreenSharing/VP8Encoder.h +++ b/Swiften/ScreenSharing/VP8Encoder.h @@ -7,6 +7,7 @@ #pragma once #include <Swiften/ScreenSharing/VideoEncoder.h> +#include <Swiften/ScreenSharing/ReferencePictureSelection.h> #define VPX_CODEC_DISABLE_COMPAT 1 // Recomended #include "vpx/vpx_encoder.h" @@ -25,7 +26,8 @@ namespace Swift { virtual void encodeImage(const Image& frame); - virtual void handleRPSIFeedback(int /*pictureID*/); + virtual void handleRPSIFeedback(int pictureID); + virtual void handleSLIFeedback(int /*pictureID*/); private: bool convertRGB24toYV12inBuffer(const Image& frame); @@ -40,7 +42,7 @@ namespace Swift { vpx_enc_frame_flags_t frameFlags; int frameNumber; int pictureID; - bool rpsiReceived; + ReferencePictureSelection rps; }; } |