diff options
Diffstat (limited to 'server/models')
-rw-r--r-- | server/models/video/video.ts | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/server/models/video/video.ts b/server/models/video/video.ts index f6a21814c..1b9d68073 100644 --- a/server/models/video/video.ts +++ b/server/models/video/video.ts | |||
@@ -1138,10 +1138,10 @@ export class VideoModel extends Model<VideoModel> { | |||
1138 | outputPath: videoOutputPath | 1138 | outputPath: videoOutputPath |
1139 | } | 1139 | } |
1140 | 1140 | ||
1141 | try { | 1141 | // Could be very long! |
1142 | // Could be very long! | 1142 | await transcode(transcodeOptions) |
1143 | await transcode(transcodeOptions) | ||
1144 | 1143 | ||
1144 | try { | ||
1145 | await unlinkPromise(videoInputPath) | 1145 | await unlinkPromise(videoInputPath) |
1146 | 1146 | ||
1147 | // Important to do this before getVideoFilename() to take in account the new file extension | 1147 | // Important to do this before getVideoFilename() to take in account the new file extension |