diff options
author | Chocobozzz <me@florianbigard.com> | 2023-09-01 16:47:25 +0200 |
---|---|---|
committer | Chocobozzz <me@florianbigard.com> | 2023-09-01 16:47:25 +0200 |
commit | 1022e273092f539c0b77a5cf6411b06c74fd15e5 (patch) | |
tree | 8262362875fa5abb6bfc586123f03228aa64471e /packages/ffmpeg/src/ffmpeg-vod.ts | |
parent | a1d93180668a265d5f7bc595e8e864db10e356b6 (diff) | |
download | PeerTube-1022e273092f539c0b77a5cf6411b06c74fd15e5.tar.gz PeerTube-1022e273092f539c0b77a5cf6411b06c74fd15e5.tar.zst PeerTube-1022e273092f539c0b77a5cf6411b06c74fd15e5.zip |
Fix live replay privacy change
Diffstat (limited to 'packages/ffmpeg/src/ffmpeg-vod.ts')
-rw-r--r-- | packages/ffmpeg/src/ffmpeg-vod.ts | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/packages/ffmpeg/src/ffmpeg-vod.ts b/packages/ffmpeg/src/ffmpeg-vod.ts index 6dd272b8d..373dc6e81 100644 --- a/packages/ffmpeg/src/ffmpeg-vod.ts +++ b/packages/ffmpeg/src/ffmpeg-vod.ts | |||
@@ -102,7 +102,9 @@ export class FFmpegVOD { | |||
102 | 102 | ||
103 | command.on('start', () => { | 103 | command.on('start', () => { |
104 | setTimeout(() => { | 104 | setTimeout(() => { |
105 | options.inputFileMutexReleaser() | 105 | if (options.inputFileMutexReleaser) { |
106 | options.inputFileMutexReleaser() | ||
107 | } | ||
106 | }, 1000) | 108 | }, 1000) |
107 | }) | 109 | }) |
108 | 110 | ||