aboutsummaryrefslogtreecommitdiffhomepage
path: root/server/lib/video-transcoding.ts
diff options
context:
space:
mode:
Diffstat (limited to 'server/lib/video-transcoding.ts')
-rw-r--r--server/lib/video-transcoding.ts2
1 files changed, 1 insertions, 1 deletions
diff --git a/server/lib/video-transcoding.ts b/server/lib/video-transcoding.ts
index 03bc21559..4fd1d62a9 100644
--- a/server/lib/video-transcoding.ts
+++ b/server/lib/video-transcoding.ts
@@ -105,7 +105,7 @@ async function mergeAudioVideofile (video: MVideoWithAllFiles, resolution: Video
105 const transcodeDirectory = CONFIG.STORAGE.TMP_DIR 105 const transcodeDirectory = CONFIG.STORAGE.TMP_DIR
106 const newExtname = '.mp4' 106 const newExtname = '.mp4'
107 107
108 const inputVideoFile = video.getMaxQualityFile() 108 const inputVideoFile = video.getMinQualityFile()
109 109
110 const audioInputPath = getVideoFilePath(video, inputVideoFile) 110 const audioInputPath = getVideoFilePath(video, inputVideoFile)
111 const videoTranscodedPath = join(transcodeDirectory, video.id + '-transcoded' + newExtname) 111 const videoTranscodedPath = join(transcodeDirectory, video.id + '-transcoded' + newExtname)