media assets: fix exception when generating thumbnails for videos/ugoiras.
This commit is contained in:
@@ -9,8 +9,8 @@ class MediaFile::Video < MediaFile
|
||||
[video.width, video.height]
|
||||
end
|
||||
|
||||
def preview(max_width, max_height)
|
||||
preview_frame.preview(max_width, max_height)
|
||||
def preview(max_width, max_height, **options)
|
||||
preview_frame.preview(max_width, max_height, **options)
|
||||
end
|
||||
|
||||
def crop(max_width, max_height)
|
||||
|
||||
Reference in New Issue
Block a user