diff options
author | Chocobozzz <me@florianbigard.com> | 2019-04-24 09:56:25 +0200 |
---|---|---|
committer | Chocobozzz <me@florianbigard.com> | 2019-04-24 16:26:22 +0200 |
commit | 2fb5b3a55aeebcc77f4b3a0c029bbf0738ef0063 (patch) | |
tree | 3f03677870548c648070ac138a2b5ca36ee8fbeb /server/helpers/ffmpeg-utils.ts | |
parent | b876eaf11a1ed9683664d94767ca684ba5b77753 (diff) | |
download | PeerTube-2fb5b3a55aeebcc77f4b3a0c029bbf0738ef0063.tar.gz PeerTube-2fb5b3a55aeebcc77f4b3a0c029bbf0738ef0063.tar.zst PeerTube-2fb5b3a55aeebcc77f4b3a0c029bbf0738ef0063.zip |
Relax videos list thumbnail api join
Diffstat (limited to 'server/helpers/ffmpeg-utils.ts')
-rw-r--r-- | server/helpers/ffmpeg-utils.ts | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/server/helpers/ffmpeg-utils.ts b/server/helpers/ffmpeg-utils.ts index d818c459c..76b744de8 100644 --- a/server/helpers/ffmpeg-utils.ts +++ b/server/helpers/ffmpeg-utils.ts | |||
@@ -105,7 +105,7 @@ async function generateImageFromVideoFile (fromPath: string, folder: string, ima | |||
105 | }) | 105 | }) |
106 | 106 | ||
107 | const destination = join(folder, imageName) | 107 | const destination = join(folder, imageName) |
108 | await processImage({ path: pendingImagePath }, destination, size) | 108 | await processImage(pendingImagePath, destination, size) |
109 | } catch (err) { | 109 | } catch (err) { |
110 | logger.error('Cannot generate image from video %s.', fromPath, { err }) | 110 | logger.error('Cannot generate image from video %s.', fromPath, { err }) |
111 | 111 | ||