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
|
// Values 0-3, 0 being highest quality but slower
|
||||||
var profileScore = 0;
|
var profileScore = 0;
|
||||||
|
|
||||||
string crf;
|
|
||||||
var qmin = "0";
|
var qmin = "0";
|
||||||
var qmax = "50";
|
var qmax = "50";
|
||||||
|
var crf = "10";
|
||||||
crf = "10";
|
|
||||||
|
|
||||||
if (isVc1)
|
if (isVc1)
|
||||||
{
|
{
|
||||||
|
|
|
@ -625,9 +625,7 @@ namespace MediaBrowser.MediaEncoding.Encoder
|
||||||
|
|
||||||
private string GetImageResolutionParameter()
|
private string GetImageResolutionParameter()
|
||||||
{
|
{
|
||||||
string imageResolutionParameter;
|
var imageResolutionParameter = _serverConfig.Configuration.ChapterImageResolution switch
|
||||||
|
|
||||||
imageResolutionParameter = _serverConfig.Configuration.ChapterImageResolution switch
|
|
||||||
{
|
{
|
||||||
ImageResolution.P144 => "256x144",
|
ImageResolution.P144 => "256x144",
|
||||||
ImageResolution.P240 => "426x240",
|
ImageResolution.P240 => "426x240",
|
||||||
|
|
Loading…
Reference in New Issue
Block a user