From 2c8057252f00eeed8efd115c346b9554c6eadffe Mon Sep 17 00:00:00 2001 From: Nick Mowen Date: Sat, 22 Oct 2022 08:13:36 -0600 Subject: [PATCH] Remove access of live config --- frigate/output.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/frigate/output.py b/frigate/output.py index 4676dac83..bb088ffff 100644 --- a/frigate/output.py +++ b/frigate/output.py @@ -366,15 +366,15 @@ def output_frames(config: FrigateConfig, video_output_queue): for camera, cam_config in config.cameras.items(): width = int( - cam_config.live.height + cam_config.restream.jsmpeg.height * (cam_config.frame_shape[1] / cam_config.frame_shape[0]) ) converters[camera] = FFMpegConverter( cam_config.frame_shape[1], cam_config.frame_shape[0], width, - cam_config.live.height, - cam_config.live.quality, + cam_config.restream.jsmpeg.height, + cam_config.restream.jsmpeg.quality, ) broadcasters[camera] = BroadcastThread( camera, converters[camera], websocket_server