mirror of
https://github.com/jellyfin/jellyfin.git
synced 2026-11-10 08:06:15 +00:00
Join declaration and assignment
This commit is contained in:
1 parent
3259d484ff
commit
2d7835c848
2 files changed
+2
-6
No files matched your search
@@ -625,9 +625,7 @@ namespace MediaBrowser.MediaEncoding.Encoder
|
||||
|
||||
private string GetImageResolutionParameter()
|
||||
{
|
||||
string imageResolutionParameter;
|
||||
|
||||
imageResolutionParameter = _serverConfig.Configuration.ChapterImageResolution switch
|
||||
var imageResolutionParameter = _serverConfig.Configuration.ChapterImageResolution switch
|
||||
{
|
||||
ImageResolution.P144 => "256x144",
|
||||
ImageResolution.P240 => "426x240",
|
||||
|
||||
Reference in new issue
Block a user