commit 58ef02f1b7ce4125c6159e48ab62d6a0c646c404
parent 50124959a28e5db290d3ebbd13e9b50e44ebe750
Author: rbckman <rob@tarina.org>
Date: Mon, 8 Dec 2025 00:36:15 +0000
no need to record picture mode to null
Diffstat:
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/gonzopi.py b/gonzopi.py
@@ -7638,7 +7638,8 @@ def startcamera(camera):
# but this reduces most of the extra colour shift caused by it:
camera.drc_strength = 'off' # disables extra tone-mapping that shifts hues
time.sleep(1)
- camera.start_recording('/dev/null', format='h264', level=profilelevel, intra_period=5, quality = quality) # back to hot standby
+ if cammode == 'film':
+ camera.start_recording('/dev/null', format='h264', level=profilelevel, intra_period=5, quality = quality) # back to hot standby
return camera
def startcamera_preview(camera):