]> granicus.if.org Git - handbrake/commitdiff
WinGui: Fix #318 Video Previews can start at the beginning of the file, but the...
authorsr55 <sr55.hb@outlook.com>
Fri, 9 Sep 2016 21:29:27 +0000 (22:29 +0100)
committersr55 <sr55.hb@outlook.com>
Fri, 9 Sep 2016 21:29:38 +0000 (22:29 +0100)
win/CS/HandBrakeWPF/ViewModels/StaticPreviewViewModel.cs

index 09d27d0291e41435932098b46c25cb3132eff024..70ad9f71e9ed44a6566aca3547f0a6da061437c4 100644 (file)
@@ -558,7 +558,7 @@ namespace HandBrakeWPF.ViewModels
 \r
             // Setup the encode task as a preview encode\r
             encodeTask.IsPreviewEncode = true;\r
-            encodeTask.PreviewEncodeStartAt = this.SelectedPreviewImage;  // TODO 0 and 1 mean the same. Need to fix this as it knocks the video out of sync with the still preview.\r
+            encodeTask.PreviewEncodeStartAt = this.SelectedPreviewImage +1;  \r
             encodeTask.PreviewEncodeDuration = this.Duration;\r
             QueueTask task = new QueueTask(encodeTask, HBConfigurationFactory.Create(), this.ScannedSource.ScanPath);\r
             ThreadPool.QueueUserWorkItem(this.CreatePreview, task);\r