From df59636ff93f374d67696357e6cf5731abda5b6e Mon Sep 17 00:00:00 2001 From: Josh Hawkins <32435876+hawkeye217@users.noreply.github.com> Date: Mon, 3 Jul 2023 11:27:02 -0500 Subject: [PATCH] pass actual instances directly --- frigate/app.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/frigate/app.py b/frigate/app.py index ca2b284da..4455ae919 100644 --- a/frigate/app.py +++ b/frigate/app.py @@ -372,8 +372,8 @@ class FrigateApp: def start_ptz_autotracker(self) -> None: self.ptz_autotracker_thread = PtzAutoTrackerThread( self.config, - self.dispatcher.onvif, - self.dispatcher.camera_metrics, + self.onvif_controller, + self.camera_metrics, self.stop_event, ) self.ptz_autotracker_thread.start()