gearheads
/
mastodon
Archived
2
0
Fork 0

Gearheads: bump video limit up to 80MiB

gh/stable
Ducky 2023-05-17 17:13:43 +01:00
parent 0e0bd661f6
commit 7396e1dfdc
1 changed files with 1 additions and 1 deletions

View File

@ -39,7 +39,7 @@ class MediaAttachment < ApplicationRecord
MAX_DESCRIPTION_LENGTH = 1_500 MAX_DESCRIPTION_LENGTH = 1_500
IMAGE_LIMIT = 10.megabytes IMAGE_LIMIT = 10.megabytes
VIDEO_LIMIT = 40.megabytes VIDEO_LIMIT = 80.megabytes
MAX_VIDEO_MATRIX_LIMIT = 2_304_000 # 1920x1200px MAX_VIDEO_MATRIX_LIMIT = 2_304_000 # 1920x1200px
MAX_VIDEO_FRAME_RATE = 60 MAX_VIDEO_FRAME_RATE = 60