1
0
Fork 1
mirror of https://github.com/pixelfed/pixelfed.git synced 2024-12-23 08:14:10 +00:00

Update VideoThumbnail job

This commit is contained in:
Daniel Supernault 2019-02-07 12:02:24 -07:00
parent 25a33d717a
commit 6b7caa988f
No known key found for this signature in database
GPG key ID: 0DEF1C662C9033F7

View file

@ -49,7 +49,7 @@ class VideoThumbnail implements ShouldQueue
} elseif($video->getDurationInSeconds() < 5) { } elseif($video->getDurationInSeconds() < 5) {
$video->getFrameFromSeconds(4); $video->getFrameFromSeconds(4);
} }
$video->export() $video->export()
->save($save); ->save($save);
$media->thumbnail_path = $save; $media->thumbnail_path = $save;