Explorar o código

Merge pull request #5980 from Maxr1998/fix-direct-play

Fix direct play for DirectPlayProfiles without any codecs set
Bond-009 %!s(int64=4) %!d(string=hai) anos
pai
achega
18d799b22a
Modificáronse 1 ficheiros con 2 adicións e 1 borrados
  1. 2 1
      MediaBrowser.Model/Dlna/ContainerProfile.cs

+ 2 - 1
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);