diff options
Diffstat (limited to 'server/helpers/ffmpeg-utils.ts')
-rw-r--r-- | server/helpers/ffmpeg-utils.ts | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/server/helpers/ffmpeg-utils.ts b/server/helpers/ffmpeg-utils.ts index 69cd397b9..01c3aa5f7 100644 --- a/server/helpers/ffmpeg-utils.ts +++ b/server/helpers/ffmpeg-utils.ts | |||
@@ -657,7 +657,7 @@ function getFFmpegVersion () { | |||
657 | 657 | ||
658 | return execPromise(`${ffmpegPath} -version`) | 658 | return execPromise(`${ffmpegPath} -version`) |
659 | .then(stdout => { | 659 | .then(stdout => { |
660 | const parsed = stdout.match(/ffmpeg version .(\d+\.\d+\.\d+)/) | 660 | const parsed = stdout.match(/ffmpeg version .?(\d+\.\d+\.\d+)/) |
661 | if (!parsed || !parsed[1]) return rej(new Error(`Could not find ffmpeg version in ${stdout}`)) | 661 | if (!parsed || !parsed[1]) return rej(new Error(`Could not find ffmpeg version in ${stdout}`)) |
662 | 662 | ||
663 | return res(parsed[1]) | 663 | return res(parsed[1]) |