diff options
author | Chocobozzz <me@florianbigard.com> | 2022-08-17 14:52:23 +0200 |
---|---|---|
committer | Chocobozzz <me@florianbigard.com> | 2022-08-17 14:54:01 +0200 |
commit | 2ec349aa857b0bd8f26de5cd78981d60c9b98a69 (patch) | |
tree | c48e4957d0abb778ee5eaa2474c24a9c88f69260 /server/helpers/ffmpeg | |
parent | 396f6f0140b0f76162e2378fd5a61e2f888673ed (diff) | |
download | PeerTube-2ec349aa857b0bd8f26de5cd78981d60c9b98a69.tar.gz PeerTube-2ec349aa857b0bd8f26de5cd78981d60c9b98a69.tar.zst PeerTube-2ec349aa857b0bd8f26de5cd78981d60c9b98a69.zip |
Prefer using our pick function
Diffstat (limited to 'server/helpers/ffmpeg')
-rw-r--r-- | server/helpers/ffmpeg/ffmpeg-presets.ts | 2 |
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 @@ | |||
1 | import { FfmpegCommand } from 'fluent-ffmpeg' | 1 | import { FfmpegCommand } from 'fluent-ffmpeg' |
2 | import { pick } from 'lodash' | ||
3 | import { logger, loggerTagsFactory } from '@server/helpers/logger' | 2 | import { logger, loggerTagsFactory } from '@server/helpers/logger' |
3 | import { pick } from '@shared/core-utils' | ||
4 | import { AvailableEncoders, EncoderOptions } from '@shared/models' | 4 | import { AvailableEncoders, EncoderOptions } from '@shared/models' |
5 | import { buildStreamSuffix, getScaleFilter, StreamType } from './ffmpeg-commons' | 5 | import { buildStreamSuffix, getScaleFilter, StreamType } from './ffmpeg-commons' |
6 | import { getEncoderBuilderResult } from './ffmpeg-encoders' | 6 | import { getEncoderBuilderResult } from './ffmpeg-encoders' |