mirror of
https://github.com/blakeblackshear/frigate.git
synced 2026-02-03 01:35:22 +03:00
Remove unused early return
This commit is contained in:
parent
314e05b5c5
commit
9c44ad6a1c
@ -697,8 +697,6 @@ def get_adjusted_offset(source: str, target_offset: int) -> int:
|
|||||||
|
|
||||||
This is used to pass information to the VOD module and is useful for codec variants
|
This is used to pass information to the VOD module and is useful for codec variants
|
||||||
with long or variable keyframe intervals."""
|
with long or variable keyframe intervals."""
|
||||||
if target_offset == 0:
|
|
||||||
return 0
|
|
||||||
ffprobe_cmd = [
|
ffprobe_cmd = [
|
||||||
"ffprobe",
|
"ffprobe",
|
||||||
"-skip_frame",
|
"-skip_frame",
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user