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