diff options
author | sr55 <[email protected]> | 2021-01-30 17:20:03 +0000 |
---|---|---|
committer | sr55 <[email protected]> | 2021-01-30 17:20:03 +0000 |
commit | 64e15a878106652f723bd0d72c3a32a3e7e184c8 (patch) | |
tree | 77f888ce0bd1510723e5612298bc1193aeb48084 /win/CS/HandBrake.Interop | |
parent | 15cad9f2092ece526ea245b9600fd57de0d0561c (diff) |
WinGui: Add support for the colourspace filter.
Diffstat (limited to 'win/CS/HandBrake.Interop')
-rw-r--r-- | win/CS/HandBrake.Interop/Interop/HbLib/hb_filter_ids.cs | 6 | ||||
-rw-r--r-- | win/CS/HandBrake.Interop/Interop/Json/Presets/HBPreset.cs | 4 |
2 files changed, 9 insertions, 1 deletions
diff --git a/win/CS/HandBrake.Interop/Interop/HbLib/hb_filter_ids.cs b/win/CS/HandBrake.Interop/Interop/HbLib/hb_filter_ids.cs index 0bd958f15..1b410e488 100644 --- a/win/CS/HandBrake.Interop/Interop/HbLib/hb_filter_ids.cs +++ b/win/CS/HandBrake.Interop/Interop/HbLib/hb_filter_ids.cs @@ -33,6 +33,7 @@ namespace HandBrake.Interop.Interop.HbLib HB_FILTER_ROTATE, HB_FILTER_GRAYSCALE, HB_FILTER_PAD, + HB_FILTER_COLORSPACE, // Finally filters that don't care what order they are in, // except that they must be after the above filters @@ -42,6 +43,9 @@ namespace HandBrake.Interop.Interop.HbLib HB_FILTER_QSV_POST, // default MSDK VPP filter HB_FILTER_QSV, - HB_FILTER_LAST = HB_FILTER_QSV + HB_FILTER_LAST = HB_FILTER_QSV, + + // wrapper filter for frame based multi-threading of simple filters + HB_FILTER_MT_FRAME, } } diff --git a/win/CS/HandBrake.Interop/Interop/Json/Presets/HBPreset.cs b/win/CS/HandBrake.Interop/Interop/Json/Presets/HBPreset.cs index 578bcfc50..4e42409b8 100644 --- a/win/CS/HandBrake.Interop/Interop/Json/Presets/HBPreset.cs +++ b/win/CS/HandBrake.Interop/Interop/Json/Presets/HBPreset.cs @@ -187,6 +187,10 @@ namespace HandBrake.Interop.Interop.Json.Presets /// </summary> public string PictureDetelecineCustom { get; set; } + public string PictureColorspacePreset { get; set; } + + public string PictureColorspaceCustom { get; set; } + /// <summary> /// Gets or sets a value indicating whether picture itu par. /// </summary> |