Selaa lähdekoodia

updated windows phone profile

Luke Pulverenti 10 vuotta sitten
vanhempi
sitoutus
3b1bbe2332
1 muutettua tiedostoa jossa 13 lisäystä ja 15 poistoa
  1. 13 15
      MediaBrowser.Dlna/Profiles/WindowsPhoneProfile.cs

+ 13 - 15
MediaBrowser.Dlna/Profiles/WindowsPhoneProfile.cs

@@ -102,20 +102,6 @@ namespace MediaBrowser.Dlna.Profiles
 
             CodecProfiles = new[]
             {
-                new CodecProfile
-                {
-                    Type = CodecType.Video,
-                    Conditions = new []
-                    {
-                        new ProfileCondition
-                        {
-                            Condition = ProfileConditionType.NotEquals,
-                            Property = ProfileConditionValue.IsAnamorphic,
-                            Value = "true"
-                        }
-                    }
-                },
-
                 new CodecProfile
                 {
                     Type = CodecType.Video,
@@ -154,7 +140,13 @@ namespace MediaBrowser.Dlna.Profiles
                             Property = ProfileConditionValue.VideoLevel,
                             Value = "3"
                         },
-                        new ProfileCondition(ProfileConditionType.EqualsAny, ProfileConditionValue.VideoProfile, "baseline|constrained baseline")
+                        new ProfileCondition(ProfileConditionType.EqualsAny, ProfileConditionValue.VideoProfile, "baseline|constrained baseline"),
+                        new ProfileCondition
+                        {
+                            Condition = ProfileConditionType.NotEquals,
+                            Property = ProfileConditionValue.IsAnamorphic,
+                            Value = "true"
+                        }
                     }
                 },
 
@@ -188,6 +180,12 @@ namespace MediaBrowser.Dlna.Profiles
                             Property = ProfileConditionValue.VideoFramerate,
                             Value = "24",
                             IsRequired = false
+                        },
+                        new ProfileCondition
+                        {
+                            Condition = ProfileConditionType.NotEquals,
+                            Property = ProfileConditionValue.IsAnamorphic,
+                            Value = "true"
                         }
                     }
                 },