diff options
Diffstat (limited to 'server')
-rw-r--r-- | server/helpers/ffprobe-utils.ts | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/server/helpers/ffprobe-utils.ts b/server/helpers/ffprobe-utils.ts index adb459ed3..5b1ad9066 100644 --- a/server/helpers/ffprobe-utils.ts +++ b/server/helpers/ffprobe-utils.ts | |||
@@ -202,6 +202,8 @@ function computeResolutionsToTranscode (videoFileResolution: number, type: 'vod' | |||
202 | } | 202 | } |
203 | 203 | ||
204 | async function canDoQuickTranscode (path: string): Promise<boolean> { | 204 | async function canDoQuickTranscode (path: string): Promise<boolean> { |
205 | if (CONFIG.TRANSCODING.PROFILE !== 'default') return false | ||
206 | |||
205 | const probe = await ffprobePromise(path) | 207 | const probe = await ffprobePromise(path) |
206 | 208 | ||
207 | return await canDoQuickVideoTranscode(path, probe) && | 209 | return await canDoQuickVideoTranscode(path, probe) && |