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

This commit is contained in:
lomion0815 2022-08-24 20:53:53 +02:00
parent 64753cfc7f
commit a51cd4f8db

View file

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