add interlaced fix

pull/1154/head
Luke Pulverenti 8 years ago
parent 74199a889f
commit 8a780bc023

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

Loading…
Cancel
Save