aboutsummaryrefslogtreecommitdiffhomepage
path: root/server/helpers/video.ts
diff options
context:
space:
mode:
Diffstat (limited to 'server/helpers/video.ts')
-rw-r--r--server/helpers/video.ts4
1 files changed, 2 insertions, 2 deletions
diff --git a/server/helpers/video.ts b/server/helpers/video.ts
index 5d1cd7de1..bfd5a9627 100644
--- a/server/helpers/video.ts
+++ b/server/helpers/video.ts
@@ -74,14 +74,14 @@ function addOptimizeOrMergeAudioJob (video: MVideo, videoFile: MVideoFile) {
74 74
75 if (videoFile.isAudio()) { 75 if (videoFile.isAudio()) {
76 dataInput = { 76 dataInput = {
77 type: 'merge-audio' as 'merge-audio', 77 type: 'merge-audio-to-webtorrent',
78 resolution: DEFAULT_AUDIO_RESOLUTION, 78 resolution: DEFAULT_AUDIO_RESOLUTION,
79 videoUUID: video.uuid, 79 videoUUID: video.uuid,
80 isNewVideo: true 80 isNewVideo: true
81 } 81 }
82 } else { 82 } else {
83 dataInput = { 83 dataInput = {
84 type: 'optimize' as 'optimize', 84 type: 'optimize-to-webtorrent',
85 videoUUID: video.uuid, 85 videoUUID: video.uuid,
86 isNewVideo: true 86 isNewVideo: true
87 } 87 }