mirror of
https://github.com/jellyfin/jellyfin.git
synced 2025-12-17 06:23:03 +03:00
Use pattern matching for null checks (#13793)
Fix the few that slipped through
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user