Browse Source

fix windows 8 profile

Luke Pulverenti 10 years ago
parent
commit
24e1f9834a
1 changed files with 22 additions and 15 deletions
  1. 22 15
      MediaBrowser.Dlna/Profiles/Windows81Profile.cs

+ 22 - 15
MediaBrowser.Dlna/Profiles/Windows81Profile.cs

@@ -108,21 +108,6 @@ namespace MediaBrowser.Dlna.Profiles
 
 
             CodecProfiles = new[]
             CodecProfiles = new[]
             {
             {
-                new CodecProfile
-                {
-                    Type = CodecType.Video,
-                    Conditions = new []
-                    {
-                        new ProfileCondition
-                        {
-                            Condition = ProfileConditionType.LessThanEqual,
-                            Property = ProfileConditionValue.VideoBitDepth,
-                            Value = "8",
-                            IsRequired = false
-                        }
-                    }
-                },
-
                 new CodecProfile
                 new CodecProfile
                 {
                 {
                     Type = CodecType.Video,
                     Type = CodecType.Video,
@@ -148,6 +133,28 @@ namespace MediaBrowser.Dlna.Profiles
                             Condition = ProfileConditionType.LessThanEqual,
                             Condition = ProfileConditionType.LessThanEqual,
                             Property = ProfileConditionValue.VideoLevel,
                             Property = ProfileConditionValue.VideoLevel,
                             Value = "51"
                             Value = "51"
+                        },
+                        new ProfileCondition
+                        {
+                            Condition = ProfileConditionType.LessThanEqual,
+                            Property = ProfileConditionValue.VideoBitDepth,
+                            Value = "8",
+                            IsRequired = false
+                        }
+                    }
+                },
+
+                new CodecProfile
+                {
+                    Type = CodecType.Video,
+                    Conditions = new []
+                    {
+                        new ProfileCondition
+                        {
+                            Condition = ProfileConditionType.LessThanEqual,
+                            Property = ProfileConditionValue.VideoBitDepth,
+                            Value = "8",
+                            IsRequired = false
                         }
                         }
                     }
                     }
                 },
                 },