mirror of
https://github.com/blakeblackshear/frigate.git
synced 2026-02-03 09:45:22 +03:00
Handle case where args is list
This commit is contained in:
parent
be21a21ac7
commit
2c38913179
@ -89,6 +89,8 @@ def get_gpu_stats(config: FrigateConfig) -> Optional[dict[str, dict]]:
|
||||
|
||||
for camera in config.cameras.values():
|
||||
args = camera.ffmpeg.hwaccel_args
|
||||
args = " ".join(args) if args is list else args
|
||||
|
||||
if args and args not in hwaccel_args:
|
||||
hwaccel_args.append(args)
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user