mirror of
https://github.com/jellyfin/jellyfin.git
synced 2025-12-21 16:25:28 +03:00
Remove more and more warnings
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user