Skip to content

Commit

Permalink
Revert "Modulation system for DVB-T2 transports"
Browse files Browse the repository at this point in the history
This reverts commit 3b939b3.

Some DVB-T transports were incorrectly flagged as DVB-T2 in the UK.
  • Loading branch information
kmdewaal committed Apr 29, 2020
1 parent 3b939b3 commit b48b0ce
Showing 1 changed file with 1 addition and 18 deletions.
19 changes: 1 addition & 18 deletions mythtv/libs/libmythtv/channelscan/channelscan_sm.cpp
Expand Up @@ -1444,28 +1444,11 @@ ChannelScanSM::GetChannelList(transport_scan_items_it_t trans_info,
continue;
}

// Descriptors in the transport stream loop of this transport in the NIT
// Get channel numbers from UK Frequency List Descriptors
const desc_list_t &list =
MPEGDescriptor::Parse(nit->TransportDescriptors(i),
nit->TransportDescriptorsLength(i));

// Presence of T2 delivery system descriptor indicates DVB-T2 delivery system
// DVB BlueBook A038 (Feb 2019) page 104, paragraph 6.4.6.3
{
const unsigned char *desc =
MPEGDescriptor::Find(
list, DescriptorID::t2_terrestrial_delivery_system);

if (desc)
{
T2TerrestrialDeliverySystemDescriptor t2tdsd(desc);
if (t2tdsd.IsValid())
{
(*trans_info).m_tuning.m_modSys = DTVModulationSystem::kModulationSystem_DVBT2;
}
}
}

// Logical channel numbers
{
const unsigned char *desc =
Expand Down

0 comments on commit b48b0ce

Please sign in to comment.