update components

This commit is contained in:
Luke Pulverenti
2016-10-28 14:35:17 -04:00
parent f6acc5fbff
commit 89ff1f2af6
18 changed files with 553 additions and 728 deletions

View File

@@ -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;