mirror of
https://github.com/blakeblackshear/frigate.git
synced 2026-02-14 23:25:25 +03:00
Formatting
This commit is contained in:
parent
753c4a12ba
commit
423acd96da
@ -197,7 +197,11 @@ class EncodeTypeEnum(str, Enum):
|
|||||||
|
|
||||||
|
|
||||||
def parse_preset_hardware_acceleration_encode(
|
def parse_preset_hardware_acceleration_encode(
|
||||||
ffmpeg_path: str, arg: Any, input: str, output: str, type: EncodeTypeEnum = EncodeTypeEnum.birdseye
|
ffmpeg_path: str,
|
||||||
|
arg: Any,
|
||||||
|
input: str,
|
||||||
|
output: str,
|
||||||
|
type: EncodeTypeEnum = EncodeTypeEnum.birdseye,
|
||||||
) -> str:
|
) -> str:
|
||||||
"""Return the correct scaling preset or default preset if none is set."""
|
"""Return the correct scaling preset or default preset if none is set."""
|
||||||
if type == EncodeTypeEnum.birdseye:
|
if type == EncodeTypeEnum.birdseye:
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user