summaryrefslogtreecommitdiffstats
path: root/win/CS
diff options
context:
space:
mode:
authorsr55 <[email protected]>2015-01-25 19:25:55 +0000
committersr55 <[email protected]>2015-01-25 19:25:55 +0000
commitee19e2a5fddf59289e9a22413f2ad27cd3236c7c (patch)
tree83b18fec18a9a7e2304d2531cb4244deb36977b5 /win/CS
parentcaed9f1d774a7f64ff0e71f247cd19ce7e3f6b89 (diff)
WinGui: Bring the live preview and static preview indexes into sync.
git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@6813 b64f7644-9d1e-0410-96f1-a4d463321fa5
Diffstat (limited to 'win/CS')
-rw-r--r--win/CS/HandBrake.ApplicationServices/Utilities/InteropModelCreator.cs2
1 files changed, 1 insertions, 1 deletions
diff --git a/win/CS/HandBrake.ApplicationServices/Utilities/InteropModelCreator.cs b/win/CS/HandBrake.ApplicationServices/Utilities/InteropModelCreator.cs
index 09fa4b98f..7e5a2e5c0 100644
--- a/win/CS/HandBrake.ApplicationServices/Utilities/InteropModelCreator.cs
+++ b/win/CS/HandBrake.ApplicationServices/Utilities/InteropModelCreator.cs
@@ -125,7 +125,7 @@ namespace HandBrake.ApplicationServices.Utilities
if (work.PointToPointMode == PointToPointMode.Preview)
{
- job.StartAtPreview = work.PreviewEncodeStartAt.HasValue ? work.PreviewEncodeStartAt.Value : 1;
+ job.StartAtPreview = work.PreviewEncodeStartAt.HasValue ? work.PreviewEncodeStartAt.Value + 1 : 1;
job.SecondsEnd = work.PreviewEncodeDuration.HasValue ? work.PreviewEncodeDuration.Value : 30;
job.SeekPoints = configuration.PreviewScanCount;
}