diff options
author | Felix Ableitner <me@nutomic.com> | 2019-05-04 03:18:32 +0200 |
---|---|---|
committer | Felix Ableitner <me@nutomic.com> | 2019-05-04 13:06:43 +0200 |
commit | 7ed2c1a46fd11caca16d5aec80d9f90d7a2d3429 (patch) | |
tree | f08bb274301a10cbddfa8bc852d14bd8b8d5b074 /server/lib/video-transcoding.ts | |
parent | 5ba49f268deb76b168559fe5fe2506b0bd5af9a8 (diff) | |
download | PeerTube-7ed2c1a46fd11caca16d5aec80d9f90d7a2d3429.tar.gz PeerTube-7ed2c1a46fd11caca16d5aec80d9f90d7a2d3429.tar.zst PeerTube-7ed2c1a46fd11caca16d5aec80d9f90d7a2d3429.zip |
fixed formatting, added test case
Diffstat (limited to 'server/lib/video-transcoding.ts')
-rw-r--r-- | server/lib/video-transcoding.ts | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/server/lib/video-transcoding.ts b/server/lib/video-transcoding.ts index 05afb44d1..81aa7a4c4 100644 --- a/server/lib/video-transcoding.ts +++ b/server/lib/video-transcoding.ts | |||
@@ -1,4 +1,4 @@ | |||
1 | import { HLS_STREAMING_PLAYLIST_DIRECTORY, P2P_MEDIA_LOADER_PEER_VERSION, WEBSERVER, VIDEO_TRANSCODING_FPS } from '../initializers/constants' | 1 | import { HLS_STREAMING_PLAYLIST_DIRECTORY, P2P_MEDIA_LOADER_PEER_VERSION, WEBSERVER } from '../initializers/constants' |
2 | import { join } from 'path' | 2 | import { join } from 'path' |
3 | import { getVideoFileFPS, transcode, canDoQuickTranscode } from '../helpers/ffmpeg-utils' | 3 | import { getVideoFileFPS, transcode, canDoQuickTranscode } from '../helpers/ffmpeg-utils' |
4 | import { ensureDir, move, remove, stat } from 'fs-extra' | 4 | import { ensureDir, move, remove, stat } from 'fs-extra' |