Przeglądaj źródła

update wmc dlna profile

Luke Pulverenti 11 lat temu
rodzic
commit
39547de1f8

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

@@ -216,7 +216,7 @@ namespace MediaBrowser.Dlna.Profiles
                 new CodecProfile
                 new CodecProfile
                 {
                 {
                     Type = CodecType.VideoAudio,
                     Type = CodecType.VideoAudio,
-                    Codec = "ac3,wmav2,wmapro",
+                    Codec = "ac3",
                     Conditions = new []
                     Conditions = new []
                     {
                     {
                         new ProfileCondition
                         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
                 new CodecProfile
                 {
                 {
                     Type = CodecType.VideoAudio,
                     Type = CodecType.VideoAudio,