Explorar o código

add interlaced fix

Luke Pulverenti %!s(int64=8) %!d(string=hai) anos
pai
achega
8a780bc023
Modificáronse 1 ficheiros con 2 adicións e 2 borrados
  1. 2 2
      MediaBrowser.Model/Dlna/StreamBuilder.cs

+ 2 - 2
MediaBrowser.Model/Dlna/StreamBuilder.cs

@@ -1180,11 +1180,11 @@ namespace MediaBrowser.Model.Dlna
                             bool isInterlaced;
                             if (bool.TryParse(value, out isInterlaced))
                             {
-                                if (isInterlaced && condition.Condition == ProfileConditionType.Equals)
+                                if (!isInterlaced && condition.Condition == ProfileConditionType.Equals)
                                 {
                                     item.DeInterlace = true;
                                 }
-                                else if (!isInterlaced && condition.Condition == ProfileConditionType.NotEquals)
+                                else if (isInterlaced && condition.Condition == ProfileConditionType.NotEquals)
                                 {
                                     item.DeInterlace = true;
                                 }