summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authordknn <yoann.blein@free.fr>2012-08-29 11:14:36 (GMT)
committerdknn <yoann.blein@free.fr>2012-09-22 09:34:49 (GMT)
commit56b5b129c2fbea3828faaf0cdf882534c2433eff (patch)
tree14022983fdcd54c7bcc61f77f12dbe1d7e13f973 /Swiften/ScreenSharing/VideoDecoder.h
parent6247ed394302ff2cf1f33a71df808bebf7241242 (diff)
downloadswift-contrib-56b5b129c2fbea3828faaf0cdf882534c2433eff.zip
swift-contrib-56b5b129c2fbea3828faaf0cdf882534c2433eff.tar.bz2
Better error resilience
Diffstat (limited to 'Swiften/ScreenSharing/VideoDecoder.h')
-rw-r--r--Swiften/ScreenSharing/VideoDecoder.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/Swiften/ScreenSharing/VideoDecoder.h b/Swiften/ScreenSharing/VideoDecoder.h
index fdec6b3..d7ad55e 100644
--- a/Swiften/ScreenSharing/VideoDecoder.h
+++ b/Swiften/ScreenSharing/VideoDecoder.h
@@ -21,7 +21,8 @@ namespace Swift {
virtual void decodeFrame(const std::vector<uint8_t>& frame, int pictureID) = 0;
public:
- boost::signal<void (int pictureID, bool success)> onNewFrameDecoded;
+ boost::signal<void (int pictureID)> onNewRef;
+ boost::signal<void (int pictureID)> onCorrupted;
boost::signal<void (const Image&)> onNewImageAvailable;
};
}