summaryrefslogtreecommitdiffstats
path: root/win/CS/HandBrake.Interop/HandBrakeInterop/Model/SourceSubtitle.cs
blob: e07811cc82b198acd19720d32a2dc77167d61fa2 (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
27
28
29
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace HandBrake.Interop
{
	public class SourceSubtitle
	{
		/// <summary>
		/// Gets or sets the 1-based subtitle track number. 0 means foreign audio search.
		/// </summary>
		public int TrackNumber { get; set; }
		public bool Default { get; set; }
		public bool Forced { get; set; }
		public bool BurnedIn { get; set; }

		public SourceSubtitle Clone()
		{
			return new SourceSubtitle
			{
				TrackNumber = this.TrackNumber,
				Default = this.Default,
				Forced = this.Forced,
				BurnedIn = this.BurnedIn
			};
		}
	}
}