mirror of
https://github.com/blakeblackshear/frigate.git
synced 2024-12-29 00:06:19 +01:00
Don't catch presets (#4653)
This commit is contained in:
parent
ba3fbc99ba
commit
739a267462
@ -850,6 +850,10 @@ def verify_recording_segments_setup_with_reasonable_time(
|
||||
record_args: list[str] = get_ffmpeg_arg_list(
|
||||
camera_config.ffmpeg.output_args.record
|
||||
)
|
||||
|
||||
if record_args[0].startswith("preset"):
|
||||
return
|
||||
|
||||
seg_arg_index = record_args.index("-segment_time")
|
||||
|
||||
if seg_arg_index < 0:
|
||||
|
Loading…
Reference in New Issue
Block a user