mirror of
https://github.com/jellyfin/jellyfin.git
synced 2026-11-05 13:45:53 +00:00
Review comments
Address review comments from JustAMan, Bond-009 and cvium.
This commit is contained in:
1 parent
20775116f7
commit
ed69e690b8
5 files changed
+150
-160
No files matched your search
@@ -48,6 +48,10 @@ namespace MediaBrowser.MediaEncoding.Encoder
|
||||
|
||||
if (string.IsNullOrWhiteSpace(output))
|
||||
{
|
||||
if (logOutput)
|
||||
{
|
||||
_logger.LogError("FFmpeg validation: The process returned no result");
|
||||
}
|
||||
return false;
|
||||
}
|
||||
|
||||
@@ -55,6 +59,10 @@ namespace MediaBrowser.MediaEncoding.Encoder
|
||||
|
||||
if (output.IndexOf("Libav developers", StringComparison.OrdinalIgnoreCase) != -1)
|
||||
{
|
||||
if (logOutput)
|
||||
{
|
||||
_logger.LogError("FFmpeg validation: avconv instead of ffmpeg is not supported");
|
||||
}
|
||||
return false;
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user