mirror of
https://github.com/blakeblackshear/frigate.git
synced 2026-02-03 09:45:22 +03:00
Formatting
This commit is contained in:
parent
b588c7ceca
commit
c8262e65a3
@ -129,7 +129,12 @@ def parse_preset_hardware_acceleration_scale(
|
||||
) -> list[str]:
|
||||
"""Return the correct scaling preset or default preset if none is set."""
|
||||
if not isinstance(arg, str) or " " in arg:
|
||||
scale: str = PRESETS_HW_ACCEL_SCALE["default"].copy().format(fps, width, height).split(" ")
|
||||
scale: str = (
|
||||
PRESETS_HW_ACCEL_SCALE["default"]
|
||||
.copy()
|
||||
.format(fps, width, height)
|
||||
.split(" ")
|
||||
)
|
||||
scale.extend(detect_args)
|
||||
return scale
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user