Revert shortened 'is ... or' check

This commit is contained in:
Maxr1998 2021-05-04 23:38:17 +02:00
parent 244ad5b225
commit b2bb062ced
No known key found for this signature in database
GPG Key ID: ECECF0D4F4816C81

View File

@ -32,7 +32,7 @@ namespace MediaBrowser.Model.Dlna
public bool SupportsAudioCodec(string codec) public bool SupportsAudioCodec(string codec)
{ {
return (Type is DlnaProfileType.Audio or DlnaProfileType.Video) && ContainerProfile.ContainsContainer(AudioCodec, codec); return (Type == DlnaProfileType.Audio || Type == DlnaProfileType.Video) && ContainerProfile.ContainsContainer(AudioCodec, codec);
} }
} }
} }