浏览代码

Improved error log as suggested by crobibero in the PR #8298 review

lomion0815 2 年之前
父节点
当前提交
a51cd4f8db
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      MediaBrowser.MediaEncoding/Probing/ProbeResultNormalizer.cs

+ 1 - 1
MediaBrowser.MediaEncoding/Probing/ProbeResultNormalizer.cs

@@ -869,7 +869,7 @@ namespace MediaBrowser.MediaEncoding.Probing
             }
             else
             {
-                _logger.LogError("Codec Type unknown. The stream will be ignored. Warning: Subsequential streams will have a wrong stream specifier!");
+                _logger.LogError("Codec Type {CodecType} unknown. The stream (index: {Index}) will be ignored. Warning: Subsequential streams will have a wrong stream specifier!", streamInfo.CodecType, streamInfo.Index);
                 return null;
             }