add interlaced fix

This commit is contained in:
Luke Pulverenti 2017-06-06 02:13:27 -04:00
parent 74199a889f
commit 8a780bc023
1 changed files with 2 additions and 2 deletions

View File

@ -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;
}