From a71ef930d5bde31a4c08e99dde9c0be6a52a28e0 Mon Sep 17 00:00:00 2001 From: Nick Mowen Date: Mon, 28 Nov 2022 18:55:57 -0700 Subject: [PATCH] Fix comment --- frigate/ffmpeg_presets.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/frigate/ffmpeg_presets.py b/frigate/ffmpeg_presets.py index 2d9999ded..3e7f0ef54 100644 --- a/frigate/ffmpeg_presets.py +++ b/frigate/ffmpeg_presets.py @@ -31,7 +31,7 @@ PRESETS_HW_ACCEL = { def parse_preset_hardware_acceleration(arg: Any) -> list[str]: - """Return the correct preset if in preset format otherwise return raw input.""" + """Return the correct preset if in preset format otherwise return None.""" if not isinstance(arg, str): return None @@ -151,7 +151,7 @@ PRESETS_INPUT = { def parse_preset_input(arg: Any, detect_fps: int) -> list[str]: - """Return the correct preset if in preset format otherwise return raw input.""" + """Return the correct preset if in preset format otherwise return None.""" if not isinstance(arg, str): return None @@ -245,7 +245,7 @@ PRESETS_RECORD_OUTPUT = { def parse_preset_output_record(arg: Any) -> list[str]: - """Return the correct preset if in preset format otherwise return raw input.""" + """Return the correct preset if in preset format otherwise return None.""" if not isinstance(arg, str): return None @@ -270,7 +270,7 @@ PRESETS_RTMP_OUTPUT = { def parse_preset_output_rtmp(arg: Any) -> list[str]: - """Return the correct preset if in preset format otherwise return raw input.""" + """Return the correct preset if in preset format otherwise return None.""" if not isinstance(arg, str): return None