diff options
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 | ||