mirror of
https://github.com/jellyfin/jellyfin.git
synced 2026-08-04 07:10:45 +00:00
Update EncoderValidator.cs
This commit is contained in:
parent
4c6b60d69d
commit
5464eaed4a
1 changed files with 4 additions and 1 deletions
|
|
@ -212,7 +212,10 @@ namespace MediaBrowser.MediaEncoding.Encoder
|
|||
|
||||
if (match.Success)
|
||||
{
|
||||
return new Version(match.Groups[1].Value);
|
||||
if (Version.TryParse(match.Groups[1].Value, out var result))
|
||||
{
|
||||
return result;
|
||||
}
|
||||
}
|
||||
|
||||
var versionMap = GetFFmpegLibraryVersions(output);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue