summaryrefslogtreecommitdiffstats
path: root/win/CS/HandBrakeWPF/Helpers
diff options
context:
space:
mode:
authorsr55 <[email protected]>2019-10-13 18:03:58 +0100
committersr55 <[email protected]>2019-10-13 18:03:58 +0100
commit4a75f67486474b024d2264481cbe9e172a3e98f4 (patch)
treeab820962a0721273049cdee018ab5b15f4fa8c36 /win/CS/HandBrakeWPF/Helpers
parentd6658751f5694e60df5d74481120098c50dff5d5 (diff)
WinGui: Catchup some remaining strings that were not localisable. #2345
Diffstat (limited to 'win/CS/HandBrakeWPF/Helpers')
-rw-r--r--win/CS/HandBrakeWPF/Helpers/AutoNameHelper.cs8
1 files changed, 4 insertions, 4 deletions
diff --git a/win/CS/HandBrakeWPF/Helpers/AutoNameHelper.cs b/win/CS/HandBrakeWPF/Helpers/AutoNameHelper.cs
index 9506fa0e9..ff76aee70 100644
--- a/win/CS/HandBrakeWPF/Helpers/AutoNameHelper.cs
+++ b/win/CS/HandBrakeWPF/Helpers/AutoNameHelper.cs
@@ -179,15 +179,15 @@ namespace HandBrakeWPF.Helpers
*/
if (task.OutputFormat == OutputFormat.Mp4)
{
- switch (userSettingService.GetUserSetting<int>(UserSettingConstants.UseM4v))
+ switch ((Mp4Behaviour)userSettingService.GetUserSetting<int>(UserSettingConstants.UseM4v))
{
- case 0: // Automatic
+ case Mp4Behaviour.Auto: // Automatic
destinationFilename += task.IncludeChapterMarkers || MP4Helper.RequiresM4v(task) ? ".m4v" : ".mp4";
break;
- case 1: // Always MP4
+ case Mp4Behaviour.MP4: // Always MP4
destinationFilename += ".mp4";
break;
- case 2: // Always M4V
+ case Mp4Behaviour.M4V: // Always M4V
destinationFilename += ".m4v";
break;
}