Don't quick transcode if using a custom profile

This commit is contained in:
Chocobozzz 2021-01-29 10:29:29 +01:00
parent 2498aaead1
commit ffd970faf9
No known key found for this signature in database
GPG Key ID: 583A612D890159BE
1 changed files with 2 additions and 0 deletions

View File

@ -202,6 +202,8 @@ function computeResolutionsToTranscode (videoFileResolution: number, type: 'vod'
}
async function canDoQuickTranscode (path: string): Promise<boolean> {
if (CONFIG.TRANSCODING.PROFILE !== 'default') return false
const probe = await ffprobePromise(path)
return await canDoQuickVideoTranscode(path, probe) &&