mirror of
https://github.com/Chocobozzz/PeerTube.git
synced 2025-10-04 18:29:27 +02:00
getVideoThumbnail -> createVideoThumbnail
This commit is contained in:
parent
bb10240ee1
commit
57a56079fe
2 changed files with 3 additions and 3 deletions
|
@ -94,7 +94,7 @@ function addVideo (req, res, next) {
|
|||
return next(err)
|
||||
}
|
||||
|
||||
videos.getVideoThumbnail(videoFile.path, function (err, thumbnailName) {
|
||||
videos.createVideoThumbnail(videoFile.path, function (err, thumbnailName) {
|
||||
if (err) {
|
||||
// TODO: unseed the video
|
||||
logger.error('Cannot make a thumbnail of the video file.')
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue