aboutsummaryrefslogtreecommitdiffhomepage
path: root/server/helpers
diff options
context:
space:
mode:
authorChocobozzz <me@florianbigard.com>2022-08-17 14:52:23 +0200
committerChocobozzz <me@florianbigard.com>2022-08-17 14:54:01 +0200
commit2ec349aa857b0bd8f26de5cd78981d60c9b98a69 (patch)
treec48e4957d0abb778ee5eaa2474c24a9c88f69260 /server/helpers
parent396f6f0140b0f76162e2378fd5a61e2f888673ed (diff)
downloadPeerTube-2ec349aa857b0bd8f26de5cd78981d60c9b98a69.tar.gz
PeerTube-2ec349aa857b0bd8f26de5cd78981d60c9b98a69.tar.zst
PeerTube-2ec349aa857b0bd8f26de5cd78981d60c9b98a69.zip
Prefer using our pick function
Diffstat (limited to 'server/helpers')
-rw-r--r--server/helpers/ffmpeg/ffmpeg-presets.ts2
1 files changed, 1 insertions, 1 deletions
diff --git a/server/helpers/ffmpeg/ffmpeg-presets.ts b/server/helpers/ffmpeg/ffmpeg-presets.ts
index 99b39f79a..d1160a4a2 100644
--- a/server/helpers/ffmpeg/ffmpeg-presets.ts
+++ b/server/helpers/ffmpeg/ffmpeg-presets.ts
@@ -1,6 +1,6 @@
1import { FfmpegCommand } from 'fluent-ffmpeg' 1import { FfmpegCommand } from 'fluent-ffmpeg'
2import { pick } from 'lodash'
3import { logger, loggerTagsFactory } from '@server/helpers/logger' 2import { logger, loggerTagsFactory } from '@server/helpers/logger'
3import { pick } from '@shared/core-utils'
4import { AvailableEncoders, EncoderOptions } from '@shared/models' 4import { AvailableEncoders, EncoderOptions } from '@shared/models'
5import { buildStreamSuffix, getScaleFilter, StreamType } from './ffmpeg-commons' 5import { buildStreamSuffix, getScaleFilter, StreamType } from './ffmpeg-commons'
6import { getEncoderBuilderResult } from './ffmpeg-encoders' 6import { getEncoderBuilderResult } from './ffmpeg-encoders'