示例#1
0
 public PgsEntryDescriptor(ushort pid, string pesFile, TimeSpan length, BdLang lang)
 {
     this.Pid     = pid;
     this.PesFile = pesFile;
     this.Length  = length;
     this.Lang    = lang;
 }
示例#2
0
        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());
        }
示例#3
0
 public EsTrack(BdStreamCodingType type, BdLang lang)
 {
     this.Lang = lang;
     this.Type = type;
 }