mirror of
https://github.com/blakeblackshear/frigate.git
synced 2024-11-21 19:07:46 +01:00
Fix dict getting overwritten (#6830)
This commit is contained in:
parent
793fe251b9
commit
09cc4251f0
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user