mirror of https://github.com/pixelfed/pixelfed.git
Update VideoThumbnail job
This commit is contained in:
parent
25a33d717a
commit
6b7caa988f
|
@ -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 New Issue