mirror of
https://github.com/blakeblackshear/frigate.git
synced 2026-02-08 04:05:26 +03:00
Fix ffmpeg auto detect
This commit is contained in:
parent
cb73e09f53
commit
6056708748
@ -1124,6 +1124,9 @@ class FrigateConfig(FrigateBaseModel):
|
||||
{"name": name, **merged_config}
|
||||
)
|
||||
|
||||
if camera_config.ffmpeg.hwaccel_args == "auto":
|
||||
camera_config.ffmpeg.hwaccel_args = config.ffmpeg.hwaccel_args
|
||||
|
||||
if (
|
||||
camera_config.detect.height is None
|
||||
or camera_config.detect.width is None
|
||||
|
||||
Loading…
Reference in New Issue
Block a user