Change MAX_VIDEO_MATRIX_LIMIT 2_304_000 to 3_061_440

This commit is contained in:
noellabo 2022-05-11 21:30:49 +09:00
parent 8b3ef9cc81
commit 609d431ac0

View file

@ -154,7 +154,7 @@ class MediaAttachment < ApplicationRecord
IMAGE_LIMIT = 10.megabytes
VIDEO_LIMIT = 40.megabytes
MAX_VIDEO_MATRIX_LIMIT = 2_304_000 # 1920x1200px
MAX_VIDEO_MATRIX_LIMIT = 3_061_440 # 1440x2126px
MAX_VIDEO_FRAME_RATE = 60
belongs_to :account, inverse_of: :media_attachments, optional: true