summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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;