Ticket #10826: 0008-add-frequency-table-for-DVB-T-in-Israel.patch

File 0008-add-frequency-table-for-DVB-T-in-Israel.patch, 2.8 KB (added by dekarl@…, 7 years ago)

draft patch

  • mythtv/libs/libmythtv/channelscan/frequencytablesetting.cpp

    From 3f5ba9684f3023b5125bbabef82cc2c2d8960b06 Mon Sep 17 00:00:00 2001
    From: Karl Dietz <dekarl@users.sourceforge.net>
    Date: Mon, 11 Jun 2012 00:12:00 +0200
    Subject: [PATCH 8/8] add frequency table for DVB-T in Israel
    
    ---
     .../channelscan/frequencytablesetting.cpp          |    1 +
     mythtv/libs/libmythtv/frequencytables.cpp          |   18 ++++++++++++++++++
     2 files changed, 19 insertions(+), 0 deletions(-)
    
    diff --git a/mythtv/libs/libmythtv/channelscan/frequencytablesetting.cpp b/mythtv/libs/libmythtv/channelscan/frequencytablesetting.cpp
    index be0151b..74bfedd 100644
    a b ScanCountry::ScanCountry() : ComboBoxSetting(this) 
    6868    addSelection(QObject::tr("France"),         "fr", country == "fr");
    6969    addSelection(QObject::tr("Germany"),        "de", country == "de");
    7070    addSelection(QObject::tr("Greece"),         "gr", country == "gr");
     71    addSelection(QObject::tr("Israel"),         "il", country == "il");
    7172    addSelection(QObject::tr("Italy"),          "it", country == "it");
    7273    addSelection(QObject::tr("New Zealand"),    "nz", country == "nz");
    7374    addSelection(QObject::tr("Spain"),          "es", country == "es");
  • mythtv/libs/libmythtv/frequencytables.cpp

    diff --git a/mythtv/libs/libmythtv/frequencytables.cpp b/mythtv/libs/libmythtv/frequencytables.cpp
    index e2b222f..d633b4e 100644
    a b static void init_freq_tables(freq_table_map_t &fmap) 
    369369        DTVGuardInterval::kGuardIntervalAuto, DTVHierarchy::kHierarchyNone,
    370370        DTVModulation::kModulationQAMAuto, 0, 0); // UHF 21-65
    371371
     372    // Israel
     373    fmap["dvbt_ofdm_il0"] = new FrequencyTable(
     374        514000000, 514000000+1, 8000000, "Channel %1", 26,
     375        DTVInversion::kInversionOff,
     376        DTVBandwidth::kBandwidth8MHz, DTVCodeRate::kFECAuto,
     377        DTVCodeRate::kFECAuto, DTVModulation::kModulationQAMAuto,
     378        DTVTransmitMode::kTransmissionMode8K,
     379        DTVGuardInterval::kGuardIntervalAuto, DTVHierarchy::kHierarchyNone,
     380        DTVModulation::kModulationQAMAuto, 0, 0); // UHF 26 - central Israel
     381    fmap["dvbt_ofdm_il1"] = new FrequencyTable(
     382        538000000, 538000000+1, 8000000, "Channel %1", 29,
     383        DTVInversion::kInversionOff,
     384        DTVBandwidth::kBandwidth8MHz, DTVCodeRate::kFECAuto,
     385        DTVCodeRate::kFECAuto, DTVModulation::kModulationQAMAuto,
     386        DTVTransmitMode::kTransmissionModeAuto,
     387        DTVGuardInterval::kGuardIntervalAuto, DTVHierarchy::kHierarchyNone,
     388        DTVModulation::kModulationQAMAuto, 0, 0); // UHF 29 - North and Eilat area
     389
    372390    // Italy (Italia)
    373391    fmap["dvbt_ofdm_it0"] = new FrequencyTable(
    374392        177500000, 226500000, 7000000, "Channel %1", 5,