1
0
Fork 0
mirror of https://github.com/Chocobozzz/PeerTube.git synced 2025-10-03 09:49:20 +02:00

Fix user export

This commit is contained in:
Chocobozzz 2025-05-15 07:34:13 +02:00
parent 6f3b827d6c
commit 766b3f237d
No known key found for this signature in database
GPG key ID: 583A612D890159BE
2 changed files with 68 additions and 1 deletions

View file

@ -391,7 +391,7 @@ export class VideosExporter extends AbstractUserExporter<VideoExportJSON> {
if (separatedAudioFile) {
const stream = new PassThrough()
await new VideoDownload({ video, videoFiles: [ videoFile, separatedAudioFile ] })
new VideoDownload({ video, videoFiles: [ videoFile, separatedAudioFile ] })
.muxToMergeVideoFiles(stream)
.catch(err => logger.error('Cannot mux video files', { err }))