Bugfixing camera sensor_mode.

This commit is contained in:
jpunkt 2021-11-04 15:52:09 +01:00
parent 0f5b331084
commit 2e65514b2f
2 changed files with 2 additions and 2 deletions

View file

@ -268,4 +268,4 @@ def init_sounds(hal: PizzaHAL, sounds: List):
@blocking
def init_camera(hal: PizzaHAL):
if hal.camera is None:
hal.camera = PiCamera()
hal.camera = PiCamera(sensor_mode=5)

View file

@ -207,7 +207,7 @@ class Statemachine:
Rewind all scrolls, post-process videos
"""
# postprocessing
cmdstring = f'MP4Box -add {fs_names.REC_CITY_DESC} -add{fs_names.REC_DRAW_CITY} {fs_names.REC_MERGED_VIDEO}'
cmdstring = f'MP4Box -add {fs_names.REC_DRAW_CITY} {fs_names.REC_MERGED_VIDEO}'
call([cmdstring], shell=True)
if self.move: