aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMaxr1998 <max.rumpf1998@gmail.com>2021-05-04 23:38:17 +0200
committerMaxr1998 <max.rumpf1998@gmail.com>2021-05-04 23:38:17 +0200
commitb2bb062ced57870eb0a116a9518685a8bae48131 (patch)
treedd170706e38545929ec9bf9ed492d3cb90800310
parent244ad5b22577efa4dc737db549e62e422f42449e (diff)
Revert shortened 'is ... or' check
-rw-r--r--MediaBrowser.Model/Dlna/DirectPlayProfile.cs2
1 files changed, 1 insertions, 1 deletions
diff --git a/MediaBrowser.Model/Dlna/DirectPlayProfile.cs b/MediaBrowser.Model/Dlna/DirectPlayProfile.cs
index 417d915b5..7b8cbe181 100644
--- a/MediaBrowser.Model/Dlna/DirectPlayProfile.cs
+++ b/MediaBrowser.Model/Dlna/DirectPlayProfile.cs
@@ -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);
}
}
}