]> granicus.if.org Git - handbrake/commitdiff
WinGui: unbreak interop job structure
authorjstebbins <jstebbins.hb@gmail.com>
Tue, 24 Jun 2014 17:50:05 +0000 (17:50 +0000)
committerjstebbins <jstebbins.hb@gmail.com>
Tue, 24 Jun 2014 17:50:05 +0000 (17:50 +0000)
I broke it here https://trac.handbrake.fr/changeset/6215

git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@6219 b64f7644-9d1e-0410-96f1-a4d463321fa5

win/CS/HandBrake.Interop/HandBrakeInterop/HbLib/hb_job_s.cs
win/CS/HandBrakeWPF/Helpers/PictureSize.cs

index 3ccc11f5087e6b86c4aee6cd957fd14f65ac0f0d..ebd2d16cbd70a8b582f95f1a4baf6438a9e1e617 100644 (file)
@@ -51,9 +51,6 @@ namespace HandBrake.Interop.HbLib
         /// int\r
         public int height;\r
 \r
-        /// int\r
-        public int keep_ratio;\r
-\r
         /// int\r
         public int grayscale;\r
 \r
index 868787fd85ef886634a5c7114aae42471a25c7e4..94967d3187e6782e1cf17006bb1631f6a335846b 100644 (file)
@@ -184,7 +184,6 @@ namespace HandBrakeWPF.Helpers
                                                  },\r
                                          maxWidth = title.Width,\r
                                          maxHeight = title.Height,\r
-                                         keep_ratio = job.KeepDisplayAspect ? 1 : 0,\r
                                          width = job.Width,\r
                                          height = job.Height,\r
                                          crop = new[] { job.Crop.Top, job.Crop.Bottom, job.Crop.Left, job.Crop.Right }\r