mirror of
https://github.com/blakeblackshear/frigate.git
synced 2026-02-05 10:45:21 +03:00
Update FrigateConfig to set default values for stream_info if resolution detection fails
This commit is contained in:
parent
76886ec2f7
commit
2682aa9989
@ -966,6 +966,7 @@ class FrigateConfig(FrigateBaseModel):
|
||||
logger.warn(
|
||||
f"Error detecting stream resolution automatically for {input.path} Applying default values."
|
||||
)
|
||||
stream_info = {"width": 0, "height": 0}
|
||||
|
||||
camera_config.detect.width = (
|
||||
stream_info["width"]
|
||||
|
||||
Loading…
Reference in New Issue
Block a user