Revert shortened 'is ... or' check

pull/5943/head
Maxr1998 4 years ago
parent 244ad5b225
commit b2bb062ced
No known key found for this signature in database
GPG Key ID: ECECF0D4F4816C81

@ -32,7 +32,7 @@ namespace MediaBrowser.Model.Dlna
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);
}
}
}

Loading…
Cancel
Save