This commit is contained in:
brindosch 2017-04-22 00:40:38 +02:00
parent bd1be10435
commit aa860e6100
2 changed files with 6 additions and 6 deletions

View File

@ -12,9 +12,9 @@ V4L2Wrapper::V4L2Wrapper(const QString &device,
int height,
int frameDecimation,
int pixelDecimation,
double redSignalThreshold.toDouble()/100.0,
double greenSignalThreshold.toDouble()/100.0,
double blueSignalThreshold.toDouble()/100.0,
double redSignalThreshold,
double greenSignalThreshold,
double blueSignalThreshold,
const int priority)
: GrabberWrapper("V4L2:"+device, priority, hyperion::COMP_V4L)
, _timeout_ms(1000)

View File

@ -594,9 +594,9 @@ void HyperionDaemon::createGrabberV4L2()
grabberConfig["height"].toInt(-1),
grabberConfig["frameDecimation"].toInt(2),
grabberConfig["sizeDecimation"].toInt(8),
grabberConfig["redSignalThreshold"].toDouble(0.0),
grabberConfig["greenSignalThreshold"].toDouble(0.0),
grabberConfig["blueSignalThreshold"].toDouble(0.0),
grabberConfig["redSignalThreshold"].toDouble(0.0)/100.0,
grabberConfig["greenSignalThreshold"].toDouble(0.0)/100.0,
grabberConfig["blueSignalThreshold"].toDouble(0.0)/100.0,
grabberConfig["priority"].toInt(890));
grabber->set3D(parse3DMode(grabberConfig["mode"].toString("2D")));
grabber->setCropping(