ruff lint

This commit is contained in:
Andrew Roberts 2025-12-21 22:54:05 -05:00
parent 44e238ffbc
commit be53cb829c

View File

@ -527,7 +527,9 @@ class FrigateConfig(FrigateBaseModel):
# This allows per-camera override for exports (e.g., when camera resolution
# exceeds hardware encoder limits)
if camera_config.record.export.hwaccel_args == "auto":
camera_config.record.export.hwaccel_args = camera_config.ffmpeg.hwaccel_args
camera_config.record.export.hwaccel_args = (
camera_config.ffmpeg.hwaccel_args
)
for input in camera_config.ffmpeg.inputs:
need_detect_dimensions = "detect" in input.roles and (