Merge pull request #401 from willwill2will54/patch-1
Fixes error with slow mode on low FPS
This commit is contained in:
commit
35da11f970
1 changed files with 1 additions and 1 deletions
|
|
@ -183,7 +183,7 @@ try:
|
||||||
|
|
||||||
# Delay the frame if slowmode is on
|
# Delay the frame if slowmode is on
|
||||||
if slow_mode:
|
if slow_mode:
|
||||||
time.sleep(.5 - frame_time)
|
time.sleep(max([.5 - frame_time, 0.0]))
|
||||||
|
|
||||||
if exposure != -1:
|
if exposure != -1:
|
||||||
# For a strange reason on some cameras (e.g. Lenoxo X1E)
|
# For a strange reason on some cameras (e.g. Lenoxo X1E)
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue