mirror of
https://github.com/blakeblackshear/frigate.git
synced 2026-01-22 20:18:30 +03:00
ruff lint
This commit is contained in:
parent
a0d7a2c1a5
commit
de893a2a95
@ -549,7 +549,9 @@ class FrigateConfig(FrigateBaseModel):
|
|||||||
# This allows per-camera override for exports (e.g., when camera resolution
|
# This allows per-camera override for exports (e.g., when camera resolution
|
||||||
# exceeds hardware encoder limits)
|
# exceeds hardware encoder limits)
|
||||||
if camera_config.record.export.hwaccel_args == "auto":
|
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:
|
for input in camera_config.ffmpeg.inputs:
|
||||||
need_detect_dimensions = "detect" in input.roles and (
|
need_detect_dimensions = "detect" in input.roles and (
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user