mirror of
https://github.com/jellyfin/jellyfin.git
synced 2025-12-16 14:03:03 +03:00
Fix SA1513, SA1514, SA1507, and SA1508
This commit is contained in:
@@ -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,
|
||||
|
||||
@@ -697,10 +697,12 @@ namespace MediaBrowser.Controller.MediaEncoding
|
||||
/// The progressive.
|
||||
/// </summary>
|
||||
Progressive,
|
||||
|
||||
/// <summary>
|
||||
/// The HLS.
|
||||
/// </summary>
|
||||
Hls,
|
||||
|
||||
/// <summary>
|
||||
/// The dash.
|
||||
/// </summary>
|
||||
|
||||
Reference in New Issue
Block a user