From bd62e810187be887ab336752c293e99d3da8cdad Mon Sep 17 00:00:00 2001 From: Nick Mowen Date: Sat, 17 Jun 2023 09:22:58 -0600 Subject: [PATCH] Fix dict getting overwritten --- frigate/util.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/frigate/util.py b/frigate/util.py index bf0e9172c..aa19e99fa 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