Skip to content

Commit

Permalink
Setup: Fix US OTA channel frequencies
Browse files Browse the repository at this point in the history
In the US, as of 2009, all OTA digital transmissions
were eliminated on channels 52 to 69. This adjusts
the table of frequencies used whan scanning OTA in the US.

Fixes #12659

Signed-off-by: Peter Bennett <pbennett@mythtv.org>
  • Loading branch information
garybuhrmaster authored and bennettpeter committed Nov 16, 2017
1 parent c1c127c commit 01bdc02
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 22 deletions.
18 changes: 0 additions & 18 deletions mythtv/libs/libmythtv/frequencies.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -60,24 +60,6 @@ static struct CHANLIST ntsc_bcast[] = {
{ "49", 681250 },
{ "50", 687250 },
{ "51", 693250 },
{ "52", 699250 },
{ "53", 705250 },
{ "54", 711250 },
{ "55", 717250 },
{ "56", 723250 },
{ "57", 729250 },
{ "58", 735250 },
{ "59", 741250 },
{ "60", 747250 },
{ "61", 753250 },
{ "62", 759250 },
{ "63", 765250 },
{ "64", 771250 },
{ "65", 777250 },
{ "66", 783250 },
{ "67", 789250 },
{ "68", 795250 },
{ "69", 801250 },
};

/* US cable */
Expand Down
8 changes: 4 additions & 4 deletions mythtv/libs/libmythtv/frequencytables.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -546,9 +546,9 @@ static void init_freq_tables(freq_table_map_t &fmap)

//#define DEBUG_DVB_OFFSETS
#ifdef DEBUG_DVB_OFFSETS
// UHF 14-69
// UHF 14-51
fmap["atsc_vsb8_us0"] = new FrequencyTable(
533000000, 803000000, 6000000, "xATSC Channel %1", 24,
533000000, 695000000, 6000000, "xATSC Channel %1", 24,
DTVInversion::kInversionOff,
DTVBandwidth::kBandwidth7MHz, DTVCodeRate::kFECAuto,
DTVCodeRate::kFECAuto, DTVModulation::kModulationQAMAuto,
Expand All @@ -569,9 +569,9 @@ static void init_freq_tables(freq_table_map_t &fmap)
fmap["atsc_vsb8_us2"] = new FrequencyTable(
"ATSC Channel %1", 7, 177000000, 213000000, 6000000,
DTVModulation::kModulation8VSB);
// UHF 14-69
// UHF 14-51
fmap["atsc_vsb8_us3"] = new FrequencyTable(
"ATSC Channel %1", 14, 473000000, 803000000, 6000000,
"ATSC Channel %1", 14, 473000000, 695000000, 6000000,
DTVModulation::kModulation8VSB);
#endif // !DEBUG_DVB_OFFSETS

Expand Down

0 comments on commit 01bdc02

Please sign in to comment.