diff options
Diffstat (limited to 'server/lib/video-transcoding.ts')
-rw-r--r-- | server/lib/video-transcoding.ts | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/server/lib/video-transcoding.ts b/server/lib/video-transcoding.ts index 444b0d954..bde4c2633 100644 --- a/server/lib/video-transcoding.ts +++ b/server/lib/video-transcoding.ts | |||
@@ -237,12 +237,9 @@ async function onVideoFileTranscoding (video: MVideoWithFile, videoFile: MVideoF | |||
237 | 237 | ||
238 | await move(transcodingPath, outputPath) | 238 | await move(transcodingPath, outputPath) |
239 | 239 | ||
240 | const extractedVideo = extractVideo(video) | ||
241 | |||
242 | videoFile.size = stats.size | 240 | videoFile.size = stats.size |
243 | videoFile.fps = fps | 241 | videoFile.fps = fps |
244 | videoFile.metadata = metadata | 242 | videoFile.metadata = metadata |
245 | videoFile.metadataUrl = extractedVideo.getVideoFileMetadataUrl(videoFile, extractedVideo.getBaseUrls().baseUrlHttp) | ||
246 | 243 | ||
247 | await createTorrentAndSetInfoHash(video, videoFile) | 244 | await createTorrentAndSetInfoHash(video, videoFile) |
248 | 245 | ||