If exposure is less than _frame.expected, set to 0 (default)
This commit is contained in:
parent
24c5331cf2
commit
65b1802390
3
index.js
3
index.js
|
@ -84,6 +84,9 @@ function rExposure (req, res, next) {
|
||||||
set = true
|
set = true
|
||||||
}
|
}
|
||||||
if (set) {
|
if (set) {
|
||||||
|
if (exposure <= intval._frame.expected) {
|
||||||
|
exposure = 0;
|
||||||
|
}
|
||||||
intval.setExposure(exposure)
|
intval.setExposure(exposure)
|
||||||
} else {
|
} else {
|
||||||
exposure = intval._state.frame.exposure
|
exposure = intval._state.frame.exposure
|
||||||
|
|
Loading…
Reference in New Issue