Uploaded image for project: 'MediaPortal 1'
  1. MediaPortal 1
  2. MP1-2870

PID PMT descriptor size too large for TsWriter

    XMLWordPrintable

Details

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Major Major
    • 1.2.3
    • 1.2.1
    • TsWriter
    • None

    Description

      Some DVBS channels like NT1 ( ASTRA 19.2 ) uses PID PMT descriptor with size above 255 bytes. Unfortunately TsWriter forgot to write high nibble in the fake PMT table. As a result TsReader cannot read the ts file.



      h4. Steps to Reproduce
      Try to tune on NT1....

      h4. Additional Information
      Fix :

      void CDiskRecorder::WriteFakePMT()
      {
      ....
      if (info.rawDescriptorData!=NULL)
      {
      ==> Line to add : pmt[offset-2]=(info.rawDescriptorSize>>8);
      ==> line to modify : pmt[offset-1]=(info.rawDescriptorSize&0xFF);
      memcpy(&pmt[offset],info.rawDescriptorData,info.rawDescriptorSize);
      offset += info.rawDescriptorSize;
      pmtLength += info.rawDescriptorSize;
      }
      ++it;
      ...
      }

      Attachments

        Activity

          People

            sebastiii sebastiii
            Ambass Ambass (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: