diff options
author | Chocobozzz <me@florianbigard.com> | 2022-10-31 11:45:08 +0100 |
---|---|---|
committer | Chocobozzz <me@florianbigard.com> | 2022-10-31 13:30:39 +0100 |
commit | 6740b6428be1c27e9ad728eede7c428d1e2e9f47 (patch) | |
tree | cf5c919cecd3b1a961002fb7ceee72ff3d9aa478 /server/lib/transcoding | |
parent | f746622be455309112d858105992b2fa0b01af90 (diff) | |
download | PeerTube-6740b6428be1c27e9ad728eede7c428d1e2e9f47.tar.gz PeerTube-6740b6428be1c27e9ad728eede7c428d1e2e9f47.tar.zst PeerTube-6740b6428be1c27e9ad728eede7c428d1e2e9f47.zip |
Fix transcoding failure when importing a video
Diffstat (limited to 'server/lib/transcoding')
-rw-r--r-- | server/lib/transcoding/transcoding.ts | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/server/lib/transcoding/transcoding.ts b/server/lib/transcoding/transcoding.ts index 736e96e65..d83c5419f 100644 --- a/server/lib/transcoding/transcoding.ts +++ b/server/lib/transcoding/transcoding.ts | |||
@@ -46,6 +46,7 @@ async function optimizeOriginalVideofile (options: { | |||
46 | const transcodeDirectory = CONFIG.STORAGE.TMP_DIR | 46 | const transcodeDirectory = CONFIG.STORAGE.TMP_DIR |
47 | const newExtname = '.mp4' | 47 | const newExtname = '.mp4' |
48 | 48 | ||
49 | // Will be released by our transcodeVOD function once ffmpeg is ran | ||
49 | const inputFileMutexReleaser = await VideoPathManager.Instance.lockFiles(video.uuid) | 50 | const inputFileMutexReleaser = await VideoPathManager.Instance.lockFiles(video.uuid) |
50 | 51 | ||
51 | try { | 52 | try { |