mirror of
https://github.com/blakeblackshear/frigate.git
synced 2026-02-11 13:45:25 +03:00
Formatting
This commit is contained in:
parent
0c29c059ad
commit
dd502cdfdc
@ -197,8 +197,8 @@ def get_relative_coordinates(
|
|||||||
|
|
||||||
return mask
|
return mask
|
||||||
|
|
||||||
class StreamInfoRetriever():
|
|
||||||
|
|
||||||
|
class StreamInfoRetriever:
|
||||||
def __init__(self) -> None:
|
def __init__(self) -> None:
|
||||||
self.stream_cache: dict[str, tuple[int, int]] = {}
|
self.stream_cache: dict[str, tuple[int, int]] = {}
|
||||||
|
|
||||||
@ -209,5 +209,3 @@ class StreamInfoRetriever():
|
|||||||
info = asyncio.run(get_video_properties(input.path))
|
info = asyncio.run(get_video_properties(input.path))
|
||||||
self.stream_cache[path] = info
|
self.stream_cache[path] = info
|
||||||
return info
|
return info
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user