mirror of
https://github.com/jellyfin/jellyfin.git
synced 2025-12-21 00:05:26 +03:00
Use string interpolation
Two further review comments from JustAMan.
This commit is contained in:
@@ -38,7 +38,7 @@ namespace MediaBrowser.MediaEncoding.Encoder
|
|||||||
case _unknown:
|
case _unknown:
|
||||||
return "Unknown";
|
return "Unknown";
|
||||||
default:
|
default:
|
||||||
return string.Format("{0}.{1}",_major,_minor);
|
return $"{_major}.{_minor}";
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -150,7 +150,7 @@ namespace MediaBrowser.MediaEncoding.Encoder
|
|||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
// Version is ok so no warning required
|
_logger.LogInformation("FFmpeg validation: Found suitable ffmpeg version");
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user