[mythtv-commits] [MythTV/mythtv] 72f5fe: Recode SPTS PAT logic in DTV signalmonitor

kmdewaal noreply at github.com
Wed Oct 6 15:06:43 UTC 2021


  Branch: refs/heads/master
  Home:   https://github.com/MythTV/mythtv
  Commit: 72f5fe5ecc308c5d84bc4ddae9784eb29dc3779f
      https://github.com/MythTV/mythtv/commit/72f5fe5ecc308c5d84bc4ddae9784eb29dc3779f
  Author: Klaas de Waal <kdewaal at mythtv.org>
  Date:   2021-10-06 (Wed, 06 Oct 2021)

  Changed paths:
    M mythtv/libs/libmythtv/recorders/dtvrecorder.cpp
    M mythtv/libs/libmythtv/recorders/dtvsignalmonitor.cpp

  Log Message:
  -----------
  Recode SPTS PAT logic in DTV signalmonitor

Recode the logic in the PAT handling for the Single Program Transport Stream.
SPTS without a valid program ID is a supported format used by IPTV and ExternalRecorder.
Error messages like the following:

2021-10-04 21:41:48.522019 E [908876/909057] ExternSH recorders/dtvsignalmonitor.cpp:328 (HandlePAT) - DTVSigMon[12]: Program #1 not found in PAT!
Program Association Section
  PSIP tableID(0x0) length(13) extension(0x807)
       version(0) current(1) section(0) last_section(0)
       tsid(2055) programCount(1)
  program number 19043 has PID 0x0a28

2021-10-04 21:41:48.522021 E [908876/909057] ExternSH recorders/dtvsignalmonitor.cpp:333 (HandlePAT) - DTVSigMon[12]: But there is only one program in the PAT, so we'll just use it

which were given on every channel change have now been replaced by an informational message like this:
2021-10-06 17:02:24.020853 I  DTVSigMon[12]: Program 19043 found in PAT of SPTS

The error message is still given when a program cannot be found in a stream with
multiple programs and in that case the recording fails.




More information about the mythtv-commits mailing list