mirror of
https://github.com/hyperion-project/hyperion.ng.git
synced 2025-03-01 10:33:28 +00:00
Kill "Rainbow lights" when v4l grabber has no signal (#334)
* on v4l screenshot, print out nosignal threshold values * separate fractional parameters for no signal detection * fully implement handling for "rainbow grabber"
This commit is contained in:
@@ -1,5 +1,6 @@
|
||||
// Qt includes
|
||||
#include <QObject>
|
||||
#include <QRectF>
|
||||
|
||||
// hyperionincludes
|
||||
#include <utils/Image.h>
|
||||
@@ -11,7 +12,7 @@ class ScreenshotHandler : public QObject
|
||||
Q_OBJECT
|
||||
|
||||
public:
|
||||
ScreenshotHandler(const QString & filename);
|
||||
ScreenshotHandler(const QString & filename, const QRectF & signalDetectionOffset);
|
||||
virtual ~ScreenshotHandler();
|
||||
|
||||
public slots:
|
||||
@@ -21,4 +22,5 @@ public slots:
|
||||
|
||||
private:
|
||||
const QString _filename;
|
||||
const QRectF _signalDetectionOffset;
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user