mirror of
https://github.com/blakeblackshear/frigate.git
synced 2026-02-03 09:45:22 +03:00
Need to copy specific scale too
This commit is contained in:
parent
5dd0726fca
commit
6a4c23b00e
@ -153,7 +153,7 @@ def parse_preset_hardware_acceleration_scale(
|
|||||||
scale.extend(detect_args)
|
scale.extend(detect_args)
|
||||||
return scale
|
return scale
|
||||||
|
|
||||||
scale = PRESETS_HW_ACCEL_SCALE.get(arg, PRESETS_HW_ACCEL_SCALE["default"])
|
scale = PRESETS_HW_ACCEL_SCALE.get(arg, PRESETS_HW_ACCEL_SCALE["default"]).copy()
|
||||||
scale[1] = scale[1].format(fps, width, height)
|
scale[1] = scale[1].format(fps, width, height)
|
||||||
return scale
|
return scale
|
||||||
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user