Example #1
0
        /// <summary>
        /// Parse the section.
        /// </summary>
        /// <param name="byteData">The MPEG2 section containing the section.</param>
        /// <param name="mpeg2Header">The MPEG2 header that preceedes the section.</param>
        /// <param name="pid">The PID containing the section.</param>
        /// <param name="tid">The table ID containing the section.</param>
        internal void Process(byte[] byteData, Mpeg2ExtendedHeader mpeg2Header, int pid, int tid)
        {
            lastIndex         = mpeg2Header.Index;
            sectionNumber     = mpeg2Header.SectionNumber;
            lastSectionNumber = mpeg2Header.LastSectionNumber;

            titleHeader = new OpenTVTitleHeader();
            titleHeader.Process(byteData, lastIndex, mpeg2Header, pid, tid);
        }
Example #2
0
        /// <summary>
        /// Parse the section.
        /// </summary>
        /// <param name="byteData">The MPEG2 section containing the section.</param>
        /// <param name="mpeg2Header">The MPEG2 header that preceedes the section.</param>
        /// <param name="pid">The PID containing the section.</param>
        /// <param name="tid">The table ID containing the section.</param>
        internal void Process(byte[] byteData, Mpeg2ExtendedHeader mpeg2Header, int pid, int tid)
        {
            lastIndex = mpeg2Header.Index;
            sectionNumber = mpeg2Header.SectionNumber;
            lastSectionNumber = mpeg2Header.LastSectionNumber;

            titleHeader = new OpenTVTitleHeader();
            titleHeader.Process(byteData, lastIndex, mpeg2Header, pid, tid);
        }