diff options
author | Chocobozzz <me@florianbigard.com> | 2021-02-16 10:19:09 +0100 |
---|---|---|
committer | Chocobozzz <chocobozzz@cpy.re> | 2021-02-16 10:36:44 +0100 |
commit | 1664bc60eb7aa3fa3792b6acff50f9bbabd3d877 (patch) | |
tree | 2434f642c2a7e895317bf791500dd181cd8f18c7 /server/lib/thumbnail.ts | |
parent | 374b725df52d941af1cf37cf211593340c05206c (diff) | |
download | PeerTube-1664bc60eb7aa3fa3792b6acff50f9bbabd3d877.tar.gz PeerTube-1664bc60eb7aa3fa3792b6acff50f9bbabd3d877.tar.zst PeerTube-1664bc60eb7aa3fa3792b6acff50f9bbabd3d877.zip |
Optimize remote image processing
Diffstat (limited to 'server/lib/thumbnail.ts')
-rw-r--r-- | server/lib/thumbnail.ts | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/server/lib/thumbnail.ts b/server/lib/thumbnail.ts index 5d0c9f742..4bad8d6ca 100644 --- a/server/lib/thumbnail.ts +++ b/server/lib/thumbnail.ts | |||
@@ -1,5 +1,4 @@ | |||
1 | import chaiJsonSchema = require('chai-json-schema') | 1 | import { copy } from 'fs-extra' |
2 | import { copy, move } from 'fs-extra' | ||
3 | import { join } from 'path' | 2 | import { join } from 'path' |
4 | import { ThumbnailType } from '../../shared/models/videos/thumbnail.type' | 3 | import { ThumbnailType } from '../../shared/models/videos/thumbnail.type' |
5 | import { generateImageFromVideoFile } from '../helpers/ffmpeg-utils' | 4 | import { generateImageFromVideoFile } from '../helpers/ffmpeg-utils' |