From 1ff9f1cda3f8283241776cd8344e6671742b25f7 Mon Sep 17 00:00:00 2001 From: Chocobozzz Date: Fri, 7 May 2021 14:23:43 +0200 Subject: Fix ffmpeg version parsing --- server/helpers/ffmpeg-utils.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'server/helpers') diff --git a/server/helpers/ffmpeg-utils.ts b/server/helpers/ffmpeg-utils.ts index f79b70469..25d9d4951 100644 --- a/server/helpers/ffmpeg-utils.ts +++ b/server/helpers/ffmpeg-utils.ts @@ -684,7 +684,7 @@ function getFFmpegVersion () { // Fix ffmpeg version that does not include patch version (4.4 for example) let version = parsed[1] - if (version.match(/^\d+\.\d+/)) { + if (version.match(/^\d+\.\d+$/)) { version += '.0' } -- cgit v1.2.3