diff options
author | sr55 <[email protected]> | 2014-05-18 19:56:12 +0000 |
---|---|---|
committer | sr55 <[email protected]> | 2014-05-18 19:56:12 +0000 |
commit | ec522a70a2f4e584e486b9412a86a7440c2e6b50 (patch) | |
tree | 0cc34641d2fdc3eaba8e154e3fb4d8a1de2fe6a6 /win/CS/HandBrakeWPF/Helpers/AutoNameHelper.cs | |
parent | 24203717648fcdeff506ac6aea100d746f7b487c (diff) |
WinGui: Minor tidy up of options. Cleanup of some code warnings and some initial DPIAwareness code.
git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@6198 b64f7644-9d1e-0410-96f1-a4d463321fa5
Diffstat (limited to 'win/CS/HandBrakeWPF/Helpers/AutoNameHelper.cs')
-rw-r--r-- | win/CS/HandBrakeWPF/Helpers/AutoNameHelper.cs | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/win/CS/HandBrakeWPF/Helpers/AutoNameHelper.cs b/win/CS/HandBrakeWPF/Helpers/AutoNameHelper.cs index e9e4d0278..0c521661b 100644 --- a/win/CS/HandBrakeWPF/Helpers/AutoNameHelper.cs +++ b/win/CS/HandBrakeWPF/Helpers/AutoNameHelper.cs @@ -18,7 +18,6 @@ namespace HandBrakeWPF.Helpers using HandBrake.ApplicationServices.Extensions;
using HandBrake.ApplicationServices.Model;
using HandBrake.ApplicationServices.Model.Encoding;
- using HandBrake.ApplicationServices.Services.Interfaces;
using HandBrake.Interop.Model.Encoding;
using HandBrakeWPF.Services.Interfaces;
@@ -97,10 +96,12 @@ namespace HandBrakeWPF.Helpers if (task.VideoEncodeRateType == VideoEncodeRateType.ConstantQuality)
{
destinationFilename = destinationFilename.Replace(Constants.Quality, task.Quality.ToString());
+ destinationFilename = destinationFilename.Replace(Constants.Bitrate, string.Empty);
}
else
{
destinationFilename = destinationFilename.Replace(Constants.Bitrate, task.VideoBitrate.ToString());
+ destinationFilename = destinationFilename.Replace(Constants.Quality, string.Empty);
}
}
else
|