summaryrefslogtreecommitdiffstats
path: root/win/CS/HandBrake.Interop
diff options
context:
space:
mode:
authorsr55 <[email protected]>2019-01-14 22:21:54 +0000
committersr55 <[email protected]>2019-01-14 22:21:54 +0000
commit89742d0c72d8cfe67f9236f0361e606cf5fab8ae (patch)
treec4941e79ef6ec4d5eaf9a083b229194cbeb5c607 /win/CS/HandBrake.Interop
parent740348fefc3872d74b1a49752e48e36c20656303 (diff)
WinGui: Update EncoderHelpers for Subtitle changes
Diffstat (limited to 'win/CS/HandBrake.Interop')
-rw-r--r--win/CS/HandBrake.Interop/Interop/HandBrakeEncoderHelpers.cs12
1 files changed, 12 insertions, 0 deletions
diff --git a/win/CS/HandBrake.Interop/Interop/HandBrakeEncoderHelpers.cs b/win/CS/HandBrake.Interop/Interop/HandBrakeEncoderHelpers.cs
index c7a839ceb..7e6586bda 100644
--- a/win/CS/HandBrake.Interop/Interop/HandBrakeEncoderHelpers.cs
+++ b/win/CS/HandBrake.Interop/Interop/HandBrakeEncoderHelpers.cs
@@ -163,6 +163,17 @@ namespace HandBrake.Interop.Interop
}
/// <summary>
+ /// Gets a value indicating whether SRT subtitles can be burnt in.
+ /// </summary>
+ public static bool CanBurnSSA
+ {
+ get
+ {
+ return HBFunctions.hb_subtitle_can_burn((int)hb_subtitle_s_subsource.IMPORTSSA) > 0;
+ }
+ }
+
+ /// <summary>
/// Gets the audio encoder with the specified short name.
/// </summary>
/// <param name="shortName">
@@ -306,6 +317,7 @@ namespace HandBrake.Interop.Interop
return "CC708";
case hb_subtitle_s_subsource.IMPORTSRT:
return "SRT";
+ case hb_subtitle_s_subsource.IMPORTSSA:
case hb_subtitle_s_subsource.SSASUB:
return "SSA";
case hb_subtitle_s_subsource.TX3GSUB: