Updated the aspect ratio threshold for short detection (#382)

This commit is contained in:
Kieran 2024-09-10 08:49:30 -07:00 committed by GitHub
parent c85e9cb5f1
commit 5cd82f9dd5
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 1 additions and 1 deletions

View file

@ -124,7 +124,7 @@ defmodule Pinchflat.YtDlp.Media do
#
# These don't fail if duration or aspect_ratio are missing
# due to Elixir's comparison semantics
response["duration"] <= 60 && response["aspect_ratio"] < 0.8
response["duration"] <= 60 && response["aspect_ratio"] <= 0.85
end
end

Binary file not shown.

Before

Width:  |  Height:  |  Size: 436 KiB

After

Width:  |  Height:  |  Size: 428 KiB