From 89742d0c72d8cfe67f9236f0361e606cf5fab8ae Mon Sep 17 00:00:00 2001 From: sr55 Date: Mon, 14 Jan 2019 22:21:54 +0000 Subject: WinGui: Update EncoderHelpers for Subtitle changes --- win/CS/HandBrake.Interop/Interop/HandBrakeEncoderHelpers.cs | 12 ++++++++++++ 1 file changed, 12 insertions(+) (limited to 'win/CS/HandBrake.Interop/Interop/HandBrakeEncoderHelpers.cs') 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 @@ -162,6 +162,17 @@ namespace HandBrake.Interop.Interop } } + /// + /// Gets a value indicating whether SRT subtitles can be burnt in. + /// + public static bool CanBurnSSA + { + get + { + return HBFunctions.hb_subtitle_can_burn((int)hb_subtitle_s_subsource.IMPORTSSA) > 0; + } + } + /// /// Gets the audio encoder with the specified short name. /// @@ -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: -- cgit v1.2.3