diff options
author | sr55 <[email protected]> | 2012-05-19 15:56:07 +0000 |
---|---|---|
committer | sr55 <[email protected]> | 2012-05-19 15:56:07 +0000 |
commit | b5a8be6d070e651d475978e06459a1f565d855f5 (patch) | |
tree | 9da86c0ea1c67ce3cdc628b4493d51fd6ec13931 /win | |
parent | 6a31263baa876f3cf0eba0aa88a7dbc69239b8ab (diff) |
WinGui: Fix issue with query for mkv files.
git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@4687 b64f7644-9d1e-0410-96f1-a4d463321fa5
Diffstat (limited to 'win')
-rw-r--r-- | win/CS/HandBrakeWPF/ViewModels/MainViewModel.cs | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/win/CS/HandBrakeWPF/ViewModels/MainViewModel.cs b/win/CS/HandBrakeWPF/ViewModels/MainViewModel.cs index 7b3fede44..8a3f2eb60 100644 --- a/win/CS/HandBrakeWPF/ViewModels/MainViewModel.cs +++ b/win/CS/HandBrakeWPF/ViewModels/MainViewModel.cs @@ -1196,12 +1196,15 @@ namespace HandBrakeWPF.ViewModels {
case 0: // Auto
newExtension = this.CurrentTask.RequiresM4v ? ".m4v" : ".mp4";
+ this.CurrentTask.OutputFormat = newExtension == ".m4v" ? OutputFormat.M4V : OutputFormat.Mp4;
break;
case 1: // MP4
newExtension = ".mp4";
+ this.CurrentTask.OutputFormat = OutputFormat.Mp4;
break;
case 2: // M4v
newExtension = ".m4v";
+ this.CurrentTask.OutputFormat = OutputFormat.M4V;
break;
}
@@ -1217,6 +1220,7 @@ namespace HandBrakeWPF.ViewModels this.CurrentTask.OptimizeMP4 = false;
this.CurrentTask.IPod5GSupport = false;
this.selectedOutputFormat = OutputFormat.Mkv;
+ this.CurrentTask.OutputFormat = OutputFormat.Mkv;
}
// Update The browse file extension display
@@ -1226,7 +1230,7 @@ namespace HandBrakeWPF.ViewModels }
// Update the UI Display
- this.NotifyOfPropertyChange("CurrentTask");
+ this.NotifyOfPropertyChange(() => this.CurrentTask);
}
/// <summary>
|