mirror of
https://github.com/jellyfin/jellyfin.git
synced 2025-06-28 09:45:28 -04:00
Use pattern matching for null checks (#13793)
Fix the few that slipped through
This commit is contained in:
parent
3fc3b04daf
commit
e9729a536f
8 changed files with 12 additions and 12 deletions
|
@ -1753,7 +1753,7 @@ public class DynamicHlsController : BaseJellyfinApiController
|
|||
|
||||
if (channels.HasValue
|
||||
&& (channels.Value != 2
|
||||
|| (state.AudioStream?.Channels != null && !useDownMixAlgorithm)))
|
||||
|| (state.AudioStream?.Channels is not null && !useDownMixAlgorithm)))
|
||||
{
|
||||
args += " -ac " + channels.Value;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue