summaryrefslogtreecommitdiffstats
path: root/win/CS/HandBrake.Interop/Interop/HandBrakeSubtitleHelpers.cs
blob: 48a8f32c4be0c106303a9f0ab895e5f5b46b9636 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
// --------------------------------------------------------------------------------------------------------------------
// <copyright file="HandBrakeSubtitleHelpers.cs" company="HandBrake Project (https://handbrake.fr)">
//   This file is part of the HandBrake source code - It may be used under the terms of the GNU General Public License.
// </copyright>
// <summary>
//   Defines the HandBrakeSubtitleHelpers type.
// </summary>
// --------------------------------------------------------------------------------------------------------------------

namespace HandBrake.Interop.Interop
{
    using HandBrake.Interop.Interop.HbLib;

    public class HandBrakeSubtitleHelpers
    {
        public static int CheckCanForceSubtitle(int source)
        {
            return HBFunctions.hb_subtitle_can_force(source);
        }

        public static int CheckCanBurnSubtitle(int source)
        {
            return HBFunctions.hb_subtitle_can_burn(source);
        }
    }
}