diff --git a/deploy/hyperion.tar.gz.REMOVED.git-id b/deploy/hyperion.tar.gz.REMOVED.git-id index a43060fd..cc007f11 100644 --- a/deploy/hyperion.tar.gz.REMOVED.git-id +++ b/deploy/hyperion.tar.gz.REMOVED.git-id @@ -1 +1 @@ -e1b870c27b4cf133a895ed91f825c3c6f6f69e58 \ No newline at end of file +cc218832df7b1806355dc00559924630e3bc54be \ No newline at end of file diff --git a/src/hyperion-v4l2/ImageHandler.cpp b/src/hyperion-v4l2/ImageHandler.cpp index a100fd5d..49198953 100644 --- a/src/hyperion-v4l2/ImageHandler.cpp +++ b/src/hyperion-v4l2/ImageHandler.cpp @@ -1,21 +1,21 @@ // hyperion-v4l2 includes #include "ImageHandler.h" -ImageHandler::ImageHandler(const std::string &address, int priority, double signalThreshold, bool skipProtoReply) : - _priority(priority), - _connection(address), - _signalThreshold(signalThreshold), - _signalProcessor(100, 50, 0, uint8_t(std::min(255, std::max(0, int(255*signalThreshold))))) +ImageHandler::ImageHandler(const std::string & address, int priority, double signalThreshold, bool skipProtoReply) : + _priority(priority), + _connection(address), + _signalThreshold(signalThreshold), + _signalProcessor(100, 50, 0, uint8_t(std::min(255, std::max(0, int(255*signalThreshold))))) { _connection.setSkipReply(skipProtoReply); } -void ImageHandler::receiveImage(const Image &image) +void ImageHandler::receiveImage(const Image & image) { // check if we should do signal detection if (_signalThreshold < 0) { - _connection.setImage(image, _priority, 200); + _connection.setImage(image, _priority, 1000); } else { @@ -28,7 +28,7 @@ void ImageHandler::receiveImage(const Image &image) // send the image to Hyperion if we have a signal if (!_signalProcessor.getCurrentBorder().unknown) { - _connection.setImage(image, _priority, 200); + _connection.setImage(image, _priority, 1000); } } }