Ver Fonte

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

lomion0815 há 2 anos atrás
pai
commit
a51cd4f8db

+ 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;
             }