Fix comment

This commit is contained in:
Nick Mowen 2022-11-28 18:55:57 -07:00
parent ee08333581
commit a71ef930d5

View File

@ -31,7 +31,7 @@ PRESETS_HW_ACCEL = {
def parse_preset_hardware_acceleration(arg: Any) -> list[str]: 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): if not isinstance(arg, str):
return None return None
@ -151,7 +151,7 @@ PRESETS_INPUT = {
def parse_preset_input(arg: Any, detect_fps: int) -> list[str]: 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): if not isinstance(arg, str):
return None return None
@ -245,7 +245,7 @@ PRESETS_RECORD_OUTPUT = {
def parse_preset_output_record(arg: Any) -> list[str]: 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): if not isinstance(arg, str):
return None return None
@ -270,7 +270,7 @@ PRESETS_RTMP_OUTPUT = {
def parse_preset_output_rtmp(arg: Any) -> list[str]: 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): if not isinstance(arg, str):
return None return None