media assets: fix exception when generating thumbnails for videos/ugoiras.

This commit is contained in:
evazion
2021-12-06 19:01:34 -06:00
parent 3d4d8ae2ae
commit dab31a3ef0
2 changed files with 4 additions and 4 deletions

View File

@@ -24,8 +24,8 @@ class MediaFile::Ugoira < MediaFile
preview_frame.dimensions
end
def preview(width, height)
preview_frame.preview(width, height)
def preview(width, height, **options)
preview_frame.preview(width, height, **options)
end
def crop(width, height)