diff --git a/frigate/camera/maintainer.py b/frigate/camera/maintainer.py index 2c7163fd5..f5bf657d0 100644 --- a/frigate/camera/maintainer.py +++ b/frigate/camera/maintainer.py @@ -94,7 +94,7 @@ class CameraMaintainer(threading.Thread): # leave room for 2 cameras that are added dynamically, if a user wants to add more cameras they may need to increase the SHM size and restart after adding them. cam_total_frame_size += 2 * round( - (camera.detect.width * camera.detect.height * 1.5 + 270480) / 1048576, + (1280 * 720 * 1.5 + 270480) / 1048576, 1, ) diff --git a/frigate/events/audio.py b/frigate/events/audio.py index 797a767ba..1da86779f 100644 --- a/frigate/events/audio.py +++ b/frigate/events/audio.py @@ -93,7 +93,7 @@ class AudioProcessor(util.Process): if any( [ - conf.audio_transcription.enabled_in_config + conf.audio_transcription.enabled_in_config == True for conf in config.cameras.values() ] ):