From c7dc884bbee9c87fb4e7eb974d5ee029f4c234e4 Mon Sep 17 00:00:00 2001 From: sr55 Date: Fri, 23 Aug 2013 13:20:38 +0000 Subject: WinGui: Manually merged the QuickSync UI changes from the qsv branch to trunk git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@5741 b64f7644-9d1e-0410-96f1-a4d463321fa5 --- .../HandBrakeInterop/HandBrakeInterop.csproj | 1 + .../HandBrakeInterop/Model/Encoding/QsvPreset.cs | 28 ++++++++++++++++++++++ .../Model/Encoding/VideoEncoder.cs | 3 +++ 3 files changed, 32 insertions(+) create mode 100644 win/CS/HandBrake.Interop/HandBrakeInterop/Model/Encoding/QsvPreset.cs (limited to 'win/CS/HandBrake.Interop') diff --git a/win/CS/HandBrake.Interop/HandBrakeInterop/HandBrakeInterop.csproj b/win/CS/HandBrake.Interop/HandBrakeInterop/HandBrakeInterop.csproj index d213ca39a..047a172e6 100644 --- a/win/CS/HandBrake.Interop/HandBrakeInterop/HandBrakeInterop.csproj +++ b/win/CS/HandBrake.Interop/HandBrakeInterop/HandBrakeInterop.csproj @@ -166,6 +166,7 @@ + diff --git a/win/CS/HandBrake.Interop/HandBrakeInterop/Model/Encoding/QsvPreset.cs b/win/CS/HandBrake.Interop/HandBrakeInterop/Model/Encoding/QsvPreset.cs new file mode 100644 index 000000000..08147a5d3 --- /dev/null +++ b/win/CS/HandBrake.Interop/HandBrakeInterop/Model/Encoding/QsvPreset.cs @@ -0,0 +1,28 @@ +// -------------------------------------------------------------------------------------------------------------------- +// +// This file is part of the HandBrake source code - It may be used under the terms of the GNU General Public License. +// +// +// The qsv preset. +// +// -------------------------------------------------------------------------------------------------------------------- + +namespace HandBrake.Interop.Model.Encoding +{ + using System.ComponentModel.DataAnnotations; + + /// + /// The qsv preset. + /// + public enum QsvPreset + { + [Display(Name = "Best Speed")] + Speed, + + [Display(Name = "Balanced")] + Balanced, + + [Display(Name = "Best Quality")] + Quality, + } +} diff --git a/win/CS/HandBrake.Interop/HandBrakeInterop/Model/Encoding/VideoEncoder.cs b/win/CS/HandBrake.Interop/HandBrakeInterop/Model/Encoding/VideoEncoder.cs index e05f74419..b355d5038 100644 --- a/win/CS/HandBrake.Interop/HandBrakeInterop/Model/Encoding/VideoEncoder.cs +++ b/win/CS/HandBrake.Interop/HandBrakeInterop/Model/Encoding/VideoEncoder.cs @@ -22,6 +22,9 @@ namespace HandBrake.Interop.Model.Encoding [ShortName("x264")] X264 = 0, + [Display(Name = "H.264 (Intel QSV)")] + QuickSync, + [Display(Name = "MPEG-4 (FFmpeg)")] [ShortName("mpeg4")] FFMpeg, -- cgit v1.2.3