mirror of
https://github.com/jellyfin/jellyfin.git
synced 2026-08-04 07:10:45 +00:00
Join declaration and assignment
This commit is contained in:
parent
3259d484ff
commit
2d7835c848
2 changed files with 2 additions and 6 deletions
|
|
@ -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",
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue