mirror of
https://github.com/jellyfin/jellyfin.git
synced 2026-08-04 15:28:23 +00:00
Fix SA1513, SA1514, SA1507, and SA1508
This commit is contained in:
parent
800c039612
commit
53d5f64e03
47 changed files with 74 additions and 33 deletions
|
|
@ -109,7 +109,6 @@ namespace MediaBrowser.Controller.MediaEncoding
|
|||
}
|
||||
|
||||
return _mediaEncoder.SupportsHwaccel("vaapi");
|
||||
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
|
|
@ -508,6 +507,7 @@ namespace MediaBrowser.Controller.MediaEncoding
|
|||
arg.Append("-hwaccel qsv ");
|
||||
}
|
||||
}
|
||||
|
||||
// While using SW decoder
|
||||
else
|
||||
{
|
||||
|
|
@ -1441,7 +1441,6 @@ namespace MediaBrowser.Controller.MediaEncoding
|
|||
|
||||
var codec = outputAudioCodec ?? string.Empty;
|
||||
|
||||
|
||||
int? transcoderChannelLimit;
|
||||
if (codec.IndexOf("wma", StringComparison.OrdinalIgnoreCase) != -1)
|
||||
{
|
||||
|
|
@ -2511,7 +2510,6 @@ namespace MediaBrowser.Controller.MediaEncoding
|
|||
return inputModifier;
|
||||
}
|
||||
|
||||
|
||||
public void AttachMediaSourceInfo(
|
||||
EncodingJobInfo state,
|
||||
MediaSourceInfo mediaSource,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue