mirror of
https://github.com/blakeblackshear/frigate.git
synced 2026-02-03 17:55:21 +03:00
fix indentation
Co-authored-by: Nicolas Mowen <nickmowen213@gmail.com>
This commit is contained in:
parent
c384b2f84f
commit
0e855cbe81
@ -122,14 +122,14 @@ async def set_gpu_stats(config: FrigateConfig, all_stats: dict[str, Any]) -> Non
|
|||||||
if args and args not in hwaccel_args:
|
if args and args not in hwaccel_args:
|
||||||
hwaccel_args.append(args)
|
hwaccel_args.append(args)
|
||||||
|
|
||||||
for stream_input in camera.ffmpeg.inputs:
|
for stream_input in camera.ffmpeg.inputs:
|
||||||
args = stream_input.hwaccel_args
|
args = stream_input.hwaccel_args
|
||||||
|
|
||||||
if isinstance(args, list):
|
if isinstance(args, list):
|
||||||
args = " ".join(args)
|
args = " ".join(args)
|
||||||
|
|
||||||
if args and args not in hwaccel_args:
|
if args and args not in hwaccel_args:
|
||||||
hwaccel_args.append(args)
|
hwaccel_args.append(args)
|
||||||
|
|
||||||
stats: dict[str, dict] = {}
|
stats: dict[str, dict] = {}
|
||||||
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user