public PgsEntryDescriptor(ushort pid, string pesFile, TimeSpan length, BdLang lang) { this.Pid = pid; this.PesFile = pesFile; this.Length = length; this.Lang = lang; }
public PgsEntry(ushort pid, string pesPath, BdLang lang) { if (pid < 0x1200 || pid >= 0x1220) { throw new ArgumentOutOfRangeException("pid", "Pid of pgs should between [0x1200, 0x1220)."); } this["PgsPID"] = Clause((this.Pid = pid).ToString()); this["PgsPes"] = Clause(pesPath.AssertNotNull("pesPath")); this["PgsMui"] = Clause(pesPath + ".mui"); this["PgsLang"] = Clause(lang.AssertNotNull("lang").ToIsoLangCode()); }
public EsTrack(BdStreamCodingType type, BdLang lang) { this.Lang = lang; this.Type = type; }