Skip to content

NVR with realtime local object detection for IP cameras

Fix dict getting overwritten (#6830)

Nicolas Mowen09cc4251f022
diff --git a/frigate/util.py b/frigate/util.py
index bf0e9172c5..aa19e99fa1 100755
--- a/frigate/util.py
+++ b/frigate/util.py
@@ -1206,6 +1206,7 @@ def get_video_properties(url, get_duration=False):
# Release the video stream
video.release()
- result = {"width": round(width), "height": round(height)}
+ result["width"] = round(width)
+ result["height"] = round(height)
return result