Fix v4l2 signal threshold comparison

Former-commit-id: 698a22af752fc42e778e97587938ed6542653bd9
This commit is contained in:
johan
2014-03-22 14:49:24 +01:00
parent 932b3d7f5a
commit c3ba03e0ee
3 changed files with 8 additions and 2 deletions

View File

@@ -695,7 +695,7 @@ void V4L2Grabber::process_image(const uint8_t * data)
ColorRgb & rgb = image(xDest, yDest);
yuv2rgb(y, u, v, rgb.red, rgb.green, rgb.blue);
noSignal &= rgb < _noSignalThresholdColor;
noSignal &= rgb <= _noSignalThresholdColor;
}
}