From 6abde119d1dc9ed98a72f40859085a586c1809cf Mon Sep 17 00:00:00 2001 From: Josh Hawkins <32435876+hawkeye217@users.noreply.github.com> Date: Tue, 26 May 2026 10:18:28 -0500 Subject: [PATCH] resolve global record.export.hwaccel_args to fix phantom camera override --- frigate/config/config.py | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/frigate/config/config.py b/frigate/config/config.py index 2bc990c21a..1a12c20e51 100644 --- a/frigate/config/config.py +++ b/frigate/config/config.py @@ -680,6 +680,13 @@ class FrigateConfig(FrigateBaseModel): if self.ffmpeg.hwaccel_args == "auto": self.ffmpeg.hwaccel_args = auto_detect_hwaccel() + # Resolve global export hwaccel_args so it matches the per-camera + # resolution below. Without this, every camera reads as overriding + # record.export.hwaccel_args because the global stays "auto" while + # the camera value gets resolved to the actual args list. + if self.record.export.hwaccel_args == "auto": + self.record.export.hwaccel_args = self.ffmpeg.hwaccel_args + # Populate global audio filters from listen. Existing user-defined # entries for labels not in listen are preserved but unused at runtime. if self.audio.filters is None: