mirror of
https://github.com/n00mkrad/flowframes.git
synced 2025-12-16 16:37:48 +01:00
24 lines
598 B
C#
24 lines
598 B
C#
using System;
|
|
using System.Collections.Generic;
|
|
using System.Globalization;
|
|
using System.Linq;
|
|
|
|
namespace Flowframes.Data
|
|
{
|
|
class SubtitleTrack
|
|
{
|
|
public int streamIndex;
|
|
public string lang;
|
|
public string langFriendly;
|
|
public string encoding;
|
|
|
|
public SubtitleTrack (int streamNum, string langStr, string encodingStr)
|
|
{
|
|
streamIndex = streamNum;
|
|
lang = langStr;
|
|
langFriendly = CultureInfo.CurrentCulture.TextInfo.ToTitleCase(langStr.ToLower());
|
|
encoding = encodingStr.Trim();
|
|
}
|
|
}
|
|
}
|