diff options
author | sr55 <[email protected]> | 2013-07-27 19:56:49 +0000 |
---|---|---|
committer | sr55 <[email protected]> | 2013-07-27 19:56:49 +0000 |
commit | 7bddf9d150337398e8040953ff282cd57b1a71c0 (patch) | |
tree | dd4f3941b2a222b10d9c984920a8b04416b7625c /win/CS/HandBrakeWPF | |
parent | eff32e1a98421f42caab1a5bc418efb08b9aa3b5 (diff) |
WinGui: Some fixes around the Video and Advanced Tab query generation behaviour.
git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@5674 b64f7644-9d1e-0410-96f1-a4d463321fa5
Diffstat (limited to 'win/CS/HandBrakeWPF')
-rw-r--r-- | win/CS/HandBrakeWPF/ViewModels/VideoViewModel.cs | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/win/CS/HandBrakeWPF/ViewModels/VideoViewModel.cs b/win/CS/HandBrakeWPF/ViewModels/VideoViewModel.cs index f273f3209..f37f9c7ea 100644 --- a/win/CS/HandBrakeWPF/ViewModels/VideoViewModel.cs +++ b/win/CS/HandBrakeWPF/ViewModels/VideoViewModel.cs @@ -179,6 +179,11 @@ namespace HandBrakeWPF.ViewModels this.Task.AdvancedEncoderOptions = this.GetActualx264Query();
}
+ if (!value)
+ {
+ this.Task.AdvancedEncoderOptions = string.Empty;
+ }
+
this.useAdvancedTab = value;
this.Task.ShowAdvancedTab = value;
this.NotifyOfPropertyChange(() => this.UseAdvancedTab);
@@ -513,7 +518,7 @@ namespace HandBrakeWPF.ViewModels }
set
{
- if (!object.Equals(this.Task.AdvancedEncoderOptions, value))
+ if (!object.Equals(this.Task.ExtraAdvancedArguments, value))
{
this.Task.ExtraAdvancedArguments = value;
this.NotifyOfPropertyChange(() => this.ExtraArguments);
|