Join declaration and assignment
This commit is contained in:
parent
3259d484ff
commit
2d7835c848
|
@ -1745,11 +1745,9 @@ namespace MediaBrowser.Controller.MediaEncoding
|
|||
// Values 0-3, 0 being highest quality but slower
|
||||
var profileScore = 0;
|
||||
|
||||
string crf;
|
||||
var qmin = "0";
|
||||
var qmax = "50";
|
||||
|
||||
crf = "10";
|
||||
var crf = "10";
|
||||
|
||||
if (isVc1)
|
||||
{
|
||||
|
|
|
@ -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…
Reference in New Issue
Block a user