summaryrefslogtreecommitdiffstats
path: root/win/CS/HandBrake.ApplicationServices/Utilities
diff options
context:
space:
mode:
authorsr55 <[email protected]>2015-01-14 21:45:50 +0000
committersr55 <[email protected]>2015-01-14 21:45:50 +0000
commit9f453c3ba77cc732bad75b33571ed05c9c5f2cb6 (patch)
treef0e05a72fe6436d3df838ba75b480d5f6c66fab2 /win/CS/HandBrake.ApplicationServices/Utilities
parent7e4f5e4ec9c4f6d0c8f4540617726d428b70aaa0 (diff)
WinGui: Fix QSV Preset/Profile/Level
git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@6752 b64f7644-9d1e-0410-96f1-a4d463321fa5
Diffstat (limited to 'win/CS/HandBrake.ApplicationServices/Utilities')
-rw-r--r--win/CS/HandBrake.ApplicationServices/Utilities/InteropModelCreator.cs6
1 files changed, 6 insertions, 0 deletions
diff --git a/win/CS/HandBrake.ApplicationServices/Utilities/InteropModelCreator.cs b/win/CS/HandBrake.ApplicationServices/Utilities/InteropModelCreator.cs
index 6a7a60418..edea7fb9d 100644
--- a/win/CS/HandBrake.ApplicationServices/Utilities/InteropModelCreator.cs
+++ b/win/CS/HandBrake.ApplicationServices/Utilities/InteropModelCreator.cs
@@ -223,6 +223,12 @@ namespace HandBrake.ApplicationServices.Utilities
profile.VideoTunes.Add(work.X265Tune.ToString().ToLower().Replace(" ", string.Empty));
}
}
+ else if (work.VideoEncoder == VideoEncoder.QuickSync)
+ {
+ profile.VideoPreset = work.QsvPreset.ToString().ToLower().Replace(" ", string.Empty);
+ profile.VideoProfile = work.H264Profile.ToString().ToLower().Replace(" ", string.Empty);
+ profile.VideoLevel = work.H264Level;
+ }
// Chapter Markers
profile.IncludeChapterMarkers = work.IncludeChapterMarkers;