mirror of https://github.com/Chocobozzz/PeerTube
Don't quick transcode if using a custom profile
parent
2498aaead1
commit
ffd970faf9
|
@ -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) &&
|
||||
|
|
Loading…
Reference in New Issue