aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBond-009 <bond.009@outlook.com>2021-05-05 13:28:51 +0200
committerGitHub <noreply@github.com>2021-05-05 13:28:51 +0200
commit18d799b22a2bd54bb99c5a99edcbd2edfa6887c4 (patch)
treefbf107c4938ac1774e2d85643188d7142dface5e
parent48e81e65e8948fa61980744932eb4103a28ed876 (diff)
parent65a9a4771afc5b6b7c956f7b799586400b23af8b (diff)
Merge pull request #5980 from Maxr1998/fix-direct-play
Fix direct play for DirectPlayProfiles without any codecs set
-rw-r--r--MediaBrowser.Model/Dlna/ContainerProfile.cs3
1 files changed, 2 insertions, 1 deletions
diff --git a/MediaBrowser.Model/Dlna/ContainerProfile.cs b/MediaBrowser.Model/Dlna/ContainerProfile.cs
index c66ec8bc3..b059e43f3 100644
--- a/MediaBrowser.Model/Dlna/ContainerProfile.cs
+++ b/MediaBrowser.Model/Dlna/ContainerProfile.cs
@@ -55,7 +55,8 @@ namespace MediaBrowser.Model.Dlna
{
if (profileContainers == null || profileContainers.Length == 0)
{
- return isNegativeList;
+ // Empty profiles always support all containers/codecs
+ return true;
}
var allInputContainers = SplitValue(inputContainer);