mirror of
https://github.com/blakeblackshear/frigate.git
synced 2026-02-20 13:54:36 +01:00
Fix dict getting overwritten (#6830)
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user