fix: preset-http-jpeg-generic reference (#4946)

This commit is contained in:
Pavels Veretennikovs 2023-01-07 15:21:18 +02:00 committed by GitHub
parent ec7aaa18ab
commit 47ac5ed522
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -303,7 +303,7 @@ def parse_preset_input(arg: Any, detect_fps: int) -> list[str]:
if not isinstance(arg, str): if not isinstance(arg, str):
return None return None
if arg == "preset-jpeg-generic": if arg == "preset-http-jpeg-generic":
input = PRESETS_INPUT[arg].copy() input = PRESETS_INPUT[arg].copy()
input[1] = str(detect_fps) input[1] = str(detect_fps)
return input return input