mirror of
https://github.com/blakeblackshear/frigate.git
synced 2025-05-30 01:16:42 +02: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(
|
record_args: list[str] = get_ffmpeg_arg_list(
|
||||||
camera_config.ffmpeg.output_args.record
|
camera_config.ffmpeg.output_args.record
|
||||||
)
|
)
|
||||||
|
|
||||||
|
if record_args[0].startswith("preset"):
|
||||||
|
return
|
||||||
|
|
||||||
seg_arg_index = record_args.index("-segment_time")
|
seg_arg_index = record_args.index("-segment_time")
|
||||||
|
|
||||||
if seg_arg_index < 0:
|
if seg_arg_index < 0:
|
||||||
|
Loading…
Reference in New Issue
Block a user