mirror of
https://github.com/jellyfin/jellyfin.git
synced 2026-11-11 00:28:51 +00:00
Use string interpolation
Two further review comments from JustAMan.
This commit is contained in:
1 parent
d8d237f6f2
commit
69ea15f73a
1 file changed
+2
-2
@@ -38,7 +38,7 @@ namespace MediaBrowser.MediaEncoding.Encoder
|
||||
case _unknown:
|
||||
return "Unknown";
|
||||
default:
|
||||
return string.Format("{0}.{1}",_major,_minor);
|
||||
return $"{_major}.{_minor}";
|
||||
}
|
||||
}
|
||||
|
||||
@@ -150,7 +150,7 @@ namespace MediaBrowser.MediaEncoding.Encoder
|
||||
}
|
||||
else
|
||||
{
|
||||
// Version is ok so no warning required
|
||||
_logger.LogInformation("FFmpeg validation: Found suitable ffmpeg version");
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user