Browse Source

Fix ffmpeg version parsing

tags/v3.2.0-rc.1
Chocobozzz 1 year ago
parent
commit
1ff9f1cda3
No known key found for this signature in database GPG Key ID: 583A612D890159BE
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      server/helpers/ffmpeg-utils.ts

+ 1
- 1
server/helpers/ffmpeg-utils.ts View File

@@ -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…
Cancel
Save