Skip to content

Commit

Permalink
ChannelScan -- Update status after PMT is received
Browse files Browse the repository at this point in the history
Update the channel scan status also after a PMT is received.
This fixes the erroneous "Timed out, xx possible channels" message
that appears when a scan is in fact complete but a PMT is the last
table received.
  • Loading branch information
kmdewaal committed Aug 20, 2020
1 parent 9c3446b commit c98d399
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions mythtv/libs/libmythtv/channelscan/channelscan_sm.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -414,6 +414,8 @@ void ChannelScanSM::HandlePMT(uint /*program_num*/, const ProgramMapTable *pmt)
if (!m_currentTestingDecryption &&
pmt->IsEncrypted(GetDTVChannel()->GetSIStandard()))
m_currentEncryptionStatus[pmt->ProgramNumber()] = kEncUnknown;

UpdateChannelInfo(true);
}

void ChannelScanSM::HandleVCT(uint /*pid*/, const VirtualChannelTable *vct)
Expand Down

0 comments on commit c98d399

Please sign in to comment.