diff --git a/src/hyperion-v4l2/hyperion-v4l2.cpp b/src/hyperion-v4l2/hyperion-v4l2.cpp index b166948b..ecc6ed58 100644 --- a/src/hyperion-v4l2/hyperion-v4l2.cpp +++ b/src/hyperion-v4l2/hyperion-v4l2.cpp @@ -231,6 +231,7 @@ int main(int argc, char** argv) ScreenshotHandler handler("screenshot.png", signalDetectionOffset); QObject::connect(&grabber, SIGNAL(newFrame(Image)), &handler, SLOT(receiveImage(Image))); + grabber.prepare(); grabber.start(); QCoreApplication::exec(); grabber.stop();