mirror of https://github.com/Chocobozzz/PeerTube
Fix ffmpeg version parsing
parent
ce4b4495ff
commit
1ff9f1cda3
|
@ -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'
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue