add IsInterlaced param

This commit is contained in:
Luke Pulverenti
2017-05-29 08:35:59 -04:00
parent 316b1c9b7b
commit 3e15b28b18
13 changed files with 88 additions and 20 deletions

View File

@@ -325,6 +325,24 @@ namespace MediaBrowser.MediaEncoding.Encoder
}
}
public bool? IsTargetInterlaced
{
get
{
if (Options.Static)
{
return VideoStream == null ? (bool?)null : VideoStream.IsInterlaced;
}
if (DeInterlace)
{
return false;
}
return VideoStream == null ? (bool?)null : VideoStream.IsInterlaced;
}
}
public bool? IsTargetAVC
{
get