aboutsummaryrefslogtreecommitdiff
path: root/MediaBrowser.MediaEncoding/Encoder/EncodingJob.cs
diff options
context:
space:
mode:
authorLuke <luke.pulverenti@gmail.com>2017-05-29 08:37:59 -0400
committerGitHub <noreply@github.com>2017-05-29 08:37:59 -0400
commit1753225b80f9e889ba5728acc31e32ff8d438f25 (patch)
tree16863c5379b37240a12f4be6967adfa11f23278f /MediaBrowser.MediaEncoding/Encoder/EncodingJob.cs
parent772fb88aabb822aa0d0a4988b12bae8686fe0465 (diff)
parent196b526a53a2dc0e8d81ae6d597518ef9851e901 (diff)
Merge pull request #2668 from MediaBrowser/dev
Dev
Diffstat (limited to 'MediaBrowser.MediaEncoding/Encoder/EncodingJob.cs')
-rw-r--r--MediaBrowser.MediaEncoding/Encoder/EncodingJob.cs18
1 files changed, 18 insertions, 0 deletions
diff --git a/MediaBrowser.MediaEncoding/Encoder/EncodingJob.cs b/MediaBrowser.MediaEncoding/Encoder/EncodingJob.cs
index 9d518c431..97623c44b 100644
--- a/MediaBrowser.MediaEncoding/Encoder/EncodingJob.cs
+++ b/MediaBrowser.MediaEncoding/Encoder/EncodingJob.cs
@@ -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