pass actual instances directly

This commit is contained in:
Josh Hawkins 2023-07-03 11:27:02 -05:00
parent 54300bf50d
commit df59636ff9

View File

@ -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()