From: sr55 Date: Wed, 14 Jan 2015 21:45:50 +0000 (+0000) Subject: WinGui: Fix QSV Preset/Profile/Level X-Git-Tag: 1.0.0~1556 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=9f453c3ba77cc732bad75b33571ed05c9c5f2cb6;p=handbrake WinGui: Fix QSV Preset/Profile/Level git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@6752 b64f7644-9d1e-0410-96f1-a4d463321fa5 --- 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;