summaryrefslogtreecommitdiffstats
path: root/win
diff options
context:
space:
mode:
authorsr55 <[email protected]>2013-05-22 18:53:35 +0000
committersr55 <[email protected]>2013-05-22 18:53:35 +0000
commit58e8804f56c0d7e18c65b12fec16c14dae93ea76 (patch)
tree7bf5fcb9db17db3442771e5b45b1855ba106fd62 /win
parent79e14897ef7c26f5aea1f6eee55940c315572270 (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')
-rw-r--r--win/CS/HandBrake.ApplicationServices/Model/EncodeTask.cs3
-rw-r--r--win/CS/HandBrake.ApplicationServices/Utilities/PlistUtility.cs2
-rw-r--r--win/CS/HandBrakeWPF/Views/QueueView.xaml3
3 files changed, 6 insertions, 2 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;
diff --git a/win/CS/HandBrakeWPF/Views/QueueView.xaml b/win/CS/HandBrakeWPF/Views/QueueView.xaml
index 394eb35e4..c72398396 100644
--- a/win/CS/HandBrakeWPF/Views/QueueView.xaml
+++ b/win/CS/HandBrakeWPF/Views/QueueView.xaml
@@ -14,7 +14,6 @@
Height="400"
MinWidth="600"
MinHeight="400"
- MaxWidth="600"
Background="#FFF0F0F0"
WindowStartupLocation="CenterScreen"
TextOptions.TextFormattingMode="Display"
@@ -115,7 +114,7 @@
YourNamespace:MenuItemExtensions.GroupName="whenDone" />
<MenuItem x:Name="lock"
cal:Message.Attach="[Event Click] = [Action WhenDone(lock.Header)]"
- Header="Lock system"
+ Header="Lock System"
IsCheckable="True"
YourNamespace:MenuItemExtensions.GroupName="whenDone" />
<MenuItem x:Name="logoff"