aboutsummaryrefslogtreecommitdiffhomepage
path: root/server/lib
diff options
context:
space:
mode:
authorChocobozzz <me@florianbigard.com>2021-02-16 10:19:09 +0100
committerChocobozzz <chocobozzz@cpy.re>2021-02-16 10:36:44 +0100
commit1664bc60eb7aa3fa3792b6acff50f9bbabd3d877 (patch)
tree2434f642c2a7e895317bf791500dd181cd8f18c7 /server/lib
parent374b725df52d941af1cf37cf211593340c05206c (diff)
downloadPeerTube-1664bc60eb7aa3fa3792b6acff50f9bbabd3d877.tar.gz
PeerTube-1664bc60eb7aa3fa3792b6acff50f9bbabd3d877.tar.zst
PeerTube-1664bc60eb7aa3fa3792b6acff50f9bbabd3d877.zip
Optimize remote image processing
Diffstat (limited to 'server/lib')
-rw-r--r--server/lib/thumbnail.ts3
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 @@
1import chaiJsonSchema = require('chai-json-schema') 1import { copy } from 'fs-extra'
2import { copy, move } from 'fs-extra'
3import { join } from 'path' 2import { join } from 'path'
4import { ThumbnailType } from '../../shared/models/videos/thumbnail.type' 3import { ThumbnailType } from '../../shared/models/videos/thumbnail.type'
5import { generateImageFromVideoFile } from '../helpers/ffmpeg-utils' 4import { generateImageFromVideoFile } from '../helpers/ffmpeg-utils'