mirror of
https://github.com/jellyfin/jellyfin.git
synced 2026-07-02 15:02:07 +00:00
update components
This commit is contained in:
parent
f6acc5fbff
commit
89ff1f2af6
18 changed files with 553 additions and 728 deletions
|
|
@ -26,7 +26,7 @@ namespace MediaBrowser.MediaEncoding.Encoder
|
|||
return new Tuple<List<string>, List<string>>(decoders, encoders);
|
||||
}
|
||||
|
||||
public bool ValidateVersion(string encoderAppPath)
|
||||
public bool ValidateVersion(string encoderAppPath, bool logOutput)
|
||||
{
|
||||
string output = string.Empty;
|
||||
try
|
||||
|
|
@ -37,6 +37,11 @@ namespace MediaBrowser.MediaEncoding.Encoder
|
|||
{
|
||||
}
|
||||
|
||||
if (logOutput)
|
||||
{
|
||||
_logger.Info("ffmpeg info: {0}", output ?? string.Empty);
|
||||
}
|
||||
|
||||
if (string.IsNullOrWhiteSpace(output))
|
||||
{
|
||||
return false;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue