Parcourir la source

update wmc dlna profile

Luke Pulverenti il y a 11 ans
Parent
commit
39547de1f8
1 fichiers modifiés avec 17 ajouts et 1 suppressions
  1. 17 1
      MediaBrowser.Dlna/Profiles/WindowsMediaCenterProfile.cs

+ 17 - 1
MediaBrowser.Dlna/Profiles/WindowsMediaCenterProfile.cs

@@ -216,7 +216,7 @@ namespace MediaBrowser.Dlna.Profiles
                 new CodecProfile
                 {
                     Type = CodecType.VideoAudio,
-                    Codec = "ac3,wmav2,wmapro",
+                    Codec = "ac3",
                     Conditions = new []
                     {
                         new ProfileCondition
@@ -229,6 +229,22 @@ namespace MediaBrowser.Dlna.Profiles
                     }
                 },
 
+                new CodecProfile
+                {
+                    Type = CodecType.VideoAudio,
+                    Codec = "wmav2,wmapro",
+                    Conditions = new []
+                    {
+                        new ProfileCondition
+                        {
+                            Condition = ProfileConditionType.LessThanEqual,
+                            Property = ProfileConditionValue.AudioChannels,
+                            Value = "2",
+                            IsRequired = false
+                        }
+                    }
+                },
+
                 new CodecProfile
                 {
                     Type = CodecType.VideoAudio,