aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorChocobozzz <me@florianbigard.com>2021-05-07 14:23:43 +0200
committerChocobozzz <me@florianbigard.com>2021-05-07 14:23:43 +0200
commit1ff9f1cda3f8283241776cd8344e6671742b25f7 (patch)
treed2acf308a9fefb1f8ea82e819329b8ac9221e77a
parentce4b4495ff3607045dc6d5656f72ebf5eb28cb73 (diff)
downloadPeerTube-1ff9f1cda3f8283241776cd8344e6671742b25f7.tar.gz
PeerTube-1ff9f1cda3f8283241776cd8344e6671742b25f7.tar.zst
PeerTube-1ff9f1cda3f8283241776cd8344e6671742b25f7.zip
Fix ffmpeg version parsing
-rw-r--r--server/helpers/ffmpeg-utils.ts2
1 files changed, 1 insertions, 1 deletions
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 () {
684 684
685 // Fix ffmpeg version that does not include patch version (4.4 for example) 685 // Fix ffmpeg version that does not include patch version (4.4 for example)
686 let version = parsed[1] 686 let version = parsed[1]
687 if (version.match(/^\d+\.\d+/)) { 687 if (version.match(/^\d+\.\d+$/)) {
688 version += '.0' 688 version += '.0'
689 } 689 }
690 690