mirror of
https://github.com/n00mkrad/flowframes.git
synced 2026-09-01 19:51:28 +02:00
Split into legacy (Framework 4.8) and .NET 8 projects, WIP .NET 8 fixes
This commit is contained in:
20
Flowframes/Data/SubtitleTrack.cs
Normal file
20
Flowframes/Data/SubtitleTrack.cs
Normal file
@@ -0,0 +1,20 @@
|
||||
using System.Globalization;
|
||||
|
||||
namespace Flowframes.Data
|
||||
{
|
||||
class SubtitleTrack
|
||||
{
|
||||
public int streamIndex;
|
||||
public string lang;
|
||||
//public string langFriendly;
|
||||
public string encoding;
|
||||
|
||||
public SubtitleTrack(int streamNum, string metaStr, string encodingStr)
|
||||
{
|
||||
streamIndex = streamNum;
|
||||
lang = metaStr.Trim().Replace("_", ".").Replace(" ", ".");
|
||||
//langFriendly = CultureInfo.CurrentCulture.TextInfo.ToTitleCase(metaStr.ToLowerInvariant().Trim().Replace("_", ".").Replace(" ", "."));
|
||||
encoding = encodingStr.Trim();
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user