summaryrefslogtreecommitdiffstats
path: root/win
diff options
context:
space:
mode:
authorJohn Stebbins <[email protected]>2019-01-05 16:53:50 -0700
committerJohn Stebbins <[email protected]>2019-01-14 13:36:08 -0800
commit36a9a9f63aaf8dad0e84605354e5e9d4359429eb (patch)
tree84f26ffe3a82b6272e6fb205bddc35f26f8f8c3d /win
parent776c2d3d93c08c6cc12d9fc42bc290c3e57772ff (diff)
Add SSA subtitle import
Diffstat (limited to 'win')
-rw-r--r--win/CS/HandBrake.Interop/Interop/HandBrakeEncoderHelpers.cs4
-rw-r--r--win/CS/HandBrake.Interop/Interop/HbLib/hb_subtitle.cs8
2 files changed, 7 insertions, 5 deletions
diff --git a/win/CS/HandBrake.Interop/Interop/HandBrakeEncoderHelpers.cs b/win/CS/HandBrake.Interop/Interop/HandBrakeEncoderHelpers.cs
index 1bdb849d5..c7a839ceb 100644
--- a/win/CS/HandBrake.Interop/Interop/HandBrakeEncoderHelpers.cs
+++ b/win/CS/HandBrake.Interop/Interop/HandBrakeEncoderHelpers.cs
@@ -158,7 +158,7 @@ namespace HandBrake.Interop.Interop
{
get
{
- return HBFunctions.hb_subtitle_can_burn((int)hb_subtitle_s_subsource.SRTSUB) > 0;
+ return HBFunctions.hb_subtitle_can_burn((int)hb_subtitle_s_subsource.IMPORTSRT) > 0;
}
}
@@ -304,7 +304,7 @@ namespace HandBrake.Interop.Interop
return "CC608";
case hb_subtitle_s_subsource.CC708SUB:
return "CC708";
- case hb_subtitle_s_subsource.SRTSUB:
+ case hb_subtitle_s_subsource.IMPORTSRT:
return "SRT";
case hb_subtitle_s_subsource.SSASUB:
return "SSA";
diff --git a/win/CS/HandBrake.Interop/Interop/HbLib/hb_subtitle.cs b/win/CS/HandBrake.Interop/Interop/HbLib/hb_subtitle.cs
index 0cfb0038b..f51de960f 100644
--- a/win/CS/HandBrake.Interop/Interop/HbLib/hb_subtitle.cs
+++ b/win/CS/HandBrake.Interop/Interop/HbLib/hb_subtitle.cs
@@ -11,8 +11,6 @@ namespace HandBrake.Interop.Interop.HbLib
{
VOBSUB,
- SRTSUB,
-
CC608SUB,
CC708SUB,
@@ -23,6 +21,10 @@ namespace HandBrake.Interop.Interop.HbLib
SSASUB,
- PGSSUB
+ PGSSUB,
+
+ IMPORTSRT,
+
+ IMPORTSSA
}
}