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:
parent
25a33d717a
commit
6b7caa988f
1 changed files with 1 additions and 1 deletions
|
@ -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;
|
||||||
|
|
Loading…
Reference in a new issue