diff options
author | Chocobozzz <florian.bigard@gmail.com> | 2017-11-23 17:53:38 +0100 |
---|---|---|
committer | Chocobozzz <florian.bigard@gmail.com> | 2017-11-27 19:40:53 +0100 |
commit | 8d468a16fd33ec2660c3c59b3f7def53eb0cc4a1 (patch) | |
tree | 078708f8316ed6294088b159f79e861664fca953 /server/helpers/ffmpeg-utils.ts | |
parent | 39445ead45aaaea801ec09991b8dd2464f722e47 (diff) | |
download | PeerTube-8d468a16fd33ec2660c3c59b3f7def53eb0cc4a1.tar.gz PeerTube-8d468a16fd33ec2660c3c59b3f7def53eb0cc4a1.tar.zst PeerTube-8d468a16fd33ec2660c3c59b3f7def53eb0cc4a1.zip |
Cleanup helpers
Diffstat (limited to 'server/helpers/ffmpeg-utils.ts')
-rw-r--r-- | server/helpers/ffmpeg-utils.ts | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/server/helpers/ffmpeg-utils.ts b/server/helpers/ffmpeg-utils.ts index c07dddefe..8ad205961 100644 --- a/server/helpers/ffmpeg-utils.ts +++ b/server/helpers/ffmpeg-utils.ts | |||
@@ -1,7 +1,6 @@ | |||
1 | import * as ffmpeg from 'fluent-ffmpeg' | 1 | import * as ffmpeg from 'fluent-ffmpeg' |
2 | |||
3 | import { CONFIG } from '../initializers' | ||
4 | import { VideoResolution } from '../../shared/models/videos/video-resolution.enum' | 2 | import { VideoResolution } from '../../shared/models/videos/video-resolution.enum' |
3 | import { CONFIG } from '../initializers' | ||
5 | 4 | ||
6 | function getVideoFileHeight (path: string) { | 5 | function getVideoFileHeight (path: string) { |
7 | return new Promise<number>((res, rej) => { | 6 | return new Promise<number>((res, rej) => { |