aboutsummaryrefslogtreecommitdiff
path: root/MediaBrowser.MediaEncoding/Subtitles/SubtitleTrackInfo.cs
blob: 67d70ed6ebc59680baefb885b942fe064f0fabd2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
using System.Collections.Generic;

namespace MediaBrowser.MediaEncoding.Subtitles
{
    public class SubtitleTrackInfo
    {
        public List<SubtitleTrackEvent> TrackEvents { get; set; }

        public SubtitleTrackInfo()
        {
            TrackEvents = new List<SubtitleTrackEvent>();
        }
    }

    public class SubtitleTrackEvent
    {
        public string Id { get; set; }
        public string Text { get; set; }
        public long StartPositionTicks { get; set; }
        public long EndPositionTicks { get; set; }
    }
}