Răsfoiți Sursa

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

Fix direct play for DirectPlayProfiles without any codecs set
Bond-009 4 ani în urmă
părinte
comite
18d799b22a
1 a modificat fișierele cu 2 adăugiri și 1 ștergeri
  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);