Skip to content

ActivityPub-federated video streaming platform using P2P directly in your web browser

Fix ffmpeg version parsing

Chocobozzz1ff9f1cda3f8
diff --git a/server/helpers/ffmpeg-utils.ts b/server/helpers/ffmpeg-utils.ts
index f79b70469d..25d9d49519 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'
}