]> granicus.if.org Git - handbrake/commitdiff
WinGui: Update EndPoint for API Change.
authorsr55 <sr55.hb@outlook.com>
Wed, 11 Jan 2017 21:48:31 +0000 (21:48 +0000)
committersr55 <sr55.hb@outlook.com>
Wed, 11 Jan 2017 21:48:39 +0000 (21:48 +0000)
win/CS/HandBrakeWPF/Services/Encode/Factories/EncodeFactory.cs

index a53996b0f20aabe91227df21641cffbfb36e1204..3a2a8057c7dbbc09207fa5432b53a6ec6b3af256 100644 (file)
@@ -101,7 +101,7 @@ namespace HandBrakeWPF.Services.Encode.Factories
                 case PointToPointMode.Seconds:
                     range.Type = "time";
                     range.Start = job.StartPoint * 90000;
-                    range.End = (job.EndPoint - job.StartPoint) * 90000;
+                    range.End = job.EndPoint * 90000;
                     break;
                 case PointToPointMode.Frames:
                     range.Type = "frame";