diff --git a/libsrc/grabber/v4l2/V4L2Wrapper.cpp b/libsrc/grabber/v4l2/V4L2Wrapper.cpp index a579054e..b56e8243 100644 --- a/libsrc/grabber/v4l2/V4L2Wrapper.cpp +++ b/libsrc/grabber/v4l2/V4L2Wrapper.cpp @@ -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) diff --git a/src/hyperiond/hyperiond.cpp b/src/hyperiond/hyperiond.cpp index 172f7c9b..afca453d 100644 --- a/src/hyperiond/hyperiond.cpp +++ b/src/hyperiond/hyperiond.cpp @@ -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(