From 9f453c3ba77cc732bad75b33571ed05c9c5f2cb6 Mon Sep 17 00:00:00 2001 From: sr55 Date: Wed, 14 Jan 2015 21:45:50 +0000 Subject: WinGui: Fix QSV Preset/Profile/Level git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@6752 b64f7644-9d1e-0410-96f1-a4d463321fa5 --- .../HandBrake.ApplicationServices/Utilities/InteropModelCreator.cs | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'win') 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; -- cgit v1.2.3