diff options
author | sr55 <[email protected]> | 2013-05-22 18:53:35 +0000 |
---|---|---|
committer | sr55 <[email protected]> | 2013-05-22 18:53:35 +0000 |
commit | 58e8804f56c0d7e18c65b12fec16c14dae93ea76 (patch) | |
tree | 7bf5fcb9db17db3442771e5b45b1855ba106fd62 /win/CS/HandBrake.ApplicationServices | |
parent | 79e14897ef7c26f5aea1f6eee55940c315572270 (diff) |
WinGui: Adding missing x264UseAdvancedOptions Key. Allow the Queue window to be resized.
git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@5497 b64f7644-9d1e-0410-96f1-a4d463321fa5
Diffstat (limited to 'win/CS/HandBrake.ApplicationServices')
-rw-r--r-- | win/CS/HandBrake.ApplicationServices/Model/EncodeTask.cs | 3 | ||||
-rw-r--r-- | win/CS/HandBrake.ApplicationServices/Utilities/PlistUtility.cs | 2 |
2 files changed, 5 insertions, 0 deletions
diff --git a/win/CS/HandBrake.ApplicationServices/Model/EncodeTask.cs b/win/CS/HandBrake.ApplicationServices/Model/EncodeTask.cs index 6fcf10b57..0ea8dd8ba 100644 --- a/win/CS/HandBrake.ApplicationServices/Model/EncodeTask.cs +++ b/win/CS/HandBrake.ApplicationServices/Model/EncodeTask.cs @@ -131,9 +131,12 @@ namespace HandBrake.ApplicationServices.Model this.H264Level = task.H264Level;
this.FastDecode = task.FastDecode;
this.ExtraAdvancedArguments = task.ExtraAdvancedArguments;
+
this.PreviewStartAt = task.PreviewStartAt;
this.PreviewDuration = task.PreviewDuration;
+
+ this.ShowAdvancedTab = task.ShowAdvancedTab;
}
#region Source
diff --git a/win/CS/HandBrake.ApplicationServices/Utilities/PlistUtility.cs b/win/CS/HandBrake.ApplicationServices/Utilities/PlistUtility.cs index 4ddcda7f9..a6a91cce7 100644 --- a/win/CS/HandBrake.ApplicationServices/Utilities/PlistUtility.cs +++ b/win/CS/HandBrake.ApplicationServices/Utilities/PlistUtility.cs @@ -279,6 +279,8 @@ namespace HandBrake.ApplicationServices.Utilities tune = tune == "none" ? "fastdecode" : tune + ",fastdecode";
}
AddEncodeElement(xmlWriter, "x264Tune", "string", tune);
+ AddEncodeElement(xmlWriter, "x264UseAdvancedOptions", "integer", parsed.ShowAdvancedTab ? "1" : "0");
+
int videoQualityType = 0;
if (parsed.VideoBitrate != null) videoQualityType = 1;
|