mirror of
https://github.com/jellyfin/jellyfin.git
synced 2026-08-28 04:52:18 +00:00
Remove more and more warnings
This commit is contained in:
parent
e88367fe70
commit
cba07b1ca6
89 changed files with 1554 additions and 681 deletions
|
|
@ -422,7 +422,7 @@ namespace MediaBrowser.Controller.MediaEncoding
|
|||
|
||||
if (EncodingHelper.IsCopyCodec(OutputVideoCodec))
|
||||
{
|
||||
return VideoStream?.Codec;
|
||||
return VideoStream.Codec;
|
||||
}
|
||||
|
||||
return OutputVideoCodec;
|
||||
|
|
@ -440,7 +440,7 @@ namespace MediaBrowser.Controller.MediaEncoding
|
|||
|
||||
if (EncodingHelper.IsCopyCodec(OutputAudioCodec))
|
||||
{
|
||||
return AudioStream?.Codec;
|
||||
return AudioStream.Codec;
|
||||
}
|
||||
|
||||
return OutputAudioCodec;
|
||||
|
|
@ -568,7 +568,7 @@ namespace MediaBrowser.Controller.MediaEncoding
|
|||
}
|
||||
}
|
||||
|
||||
return forceDeinterlaceIfSourceIsInterlaced && isInputInterlaced;
|
||||
return forceDeinterlaceIfSourceIsInterlaced;
|
||||
}
|
||||
|
||||
public string[] GetRequestedProfiles(string codec)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue