Revert shortened 'is ... or' check
This commit is contained in:
parent
244ad5b225
commit
b2bb062ced
|
@ -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…
Reference in New Issue
Block a user