aboutsummaryrefslogtreecommitdiffhomepage
path: root/server/lib/transcoding
diff options
context:
space:
mode:
authorChocobozzz <me@florianbigard.com>2022-10-31 11:45:08 +0100
committerChocobozzz <me@florianbigard.com>2022-10-31 13:30:39 +0100
commit6740b6428be1c27e9ad728eede7c428d1e2e9f47 (patch)
treecf5c919cecd3b1a961002fb7ceee72ff3d9aa478 /server/lib/transcoding
parentf746622be455309112d858105992b2fa0b01af90 (diff)
downloadPeerTube-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.ts1
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 {