From 24e1f9834a8116d2593917e087888a7de51892b1 Mon Sep 17 00:00:00 2001 From: Luke Pulverenti Date: Thu, 1 Jan 2015 13:53:24 -0500 Subject: [PATCH] fix windows 8 profile --- .../Profiles/Windows81Profile.cs | 37 +++++++++++-------- 1 file changed, 22 insertions(+), 15 deletions(-) diff --git a/MediaBrowser.Dlna/Profiles/Windows81Profile.cs b/MediaBrowser.Dlna/Profiles/Windows81Profile.cs index 1d3f5046cd..056f76f795 100644 --- a/MediaBrowser.Dlna/Profiles/Windows81Profile.cs +++ b/MediaBrowser.Dlna/Profiles/Windows81Profile.cs @@ -108,21 +108,6 @@ namespace MediaBrowser.Dlna.Profiles CodecProfiles = new[] { - new CodecProfile - { - Type = CodecType.Video, - Conditions = new [] - { - new ProfileCondition - { - Condition = ProfileConditionType.LessThanEqual, - Property = ProfileConditionValue.VideoBitDepth, - Value = "8", - IsRequired = false - } - } - }, - new CodecProfile { Type = CodecType.Video, @@ -148,6 +133,28 @@ namespace MediaBrowser.Dlna.Profiles Condition = ProfileConditionType.LessThanEqual, Property = ProfileConditionValue.VideoLevel, 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 } } },