mirror of
https://github.com/jellyfin/jellyfin.git
synced 2024-11-15 18:08:53 -07:00
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)
|
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