summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to 'Swiften/ScreenSharing/VideoDecoder.h')
-rw-r--r--Swiften/ScreenSharing/VideoDecoder.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/Swiften/ScreenSharing/VideoDecoder.h b/Swiften/ScreenSharing/VideoDecoder.h
index 810d5ae..fdec6b3 100644
--- a/Swiften/ScreenSharing/VideoDecoder.h
+++ b/Swiften/ScreenSharing/VideoDecoder.h
@@ -18,9 +18,10 @@ namespace Swift {
VideoDecoder() {}
virtual ~VideoDecoder() {}
- virtual void decodeFrame(const std::vector<uint8_t>& frame) = 0;
+ virtual void decodeFrame(const std::vector<uint8_t>& frame, int pictureID) = 0;
public:
- boost::signal<void (const Image&)> onNewImageDecoded;
+ boost::signal<void (int pictureID, bool success)> onNewFrameDecoded;
+ boost::signal<void (const Image&)> onNewImageAvailable;
};
}