Don't quick transcode if using a custom profile
This commit is contained in:
parent
2498aaead1
commit
ffd970faf9
|
@ -202,6 +202,8 @@ function computeResolutionsToTranscode (videoFileResolution: number, type: 'vod'
|
||||||
}
|
}
|
||||||
|
|
||||||
async function canDoQuickTranscode (path: string): Promise<boolean> {
|
async function canDoQuickTranscode (path: string): Promise<boolean> {
|
||||||
|
if (CONFIG.TRANSCODING.PROFILE !== 'default') return false
|
||||||
|
|
||||||
const probe = await ffprobePromise(path)
|
const probe = await ffprobePromise(path)
|
||||||
|
|
||||||
return await canDoQuickVideoTranscode(path, probe) &&
|
return await canDoQuickVideoTranscode(path, probe) &&
|
||||||
|
|
Loading…
Reference in New Issue