Ticket #2435: newzealand_dvbt.patch

File newzealand_dvbt.patch, 1.9 KB (added by support@…, 15 years ago)

DVB-T Patch for NZ

  • libs/libmythtv/scanwizardhelpers.h

     
    183183        UK,
    184184        DE,
    185185        ES,
     186        NZ,
    186187    };
    187188
    188189    ScanCountry();
  • libs/libmythtv/frequencytables.cpp

     
    324324        474000000, 858000000, 8000000, "", 0, INVERSION_OFF,
    325325        BANDWIDTH_8_MHZ, FEC_AUTO, FEC_AUTO, QAM_AUTO, TRANSMISSION_MODE_AUTO,
    326326        GUARD_INTERVAL_AUTO, HIERARCHY_NONE, QAM_AUTO, 125000, 0); // UHF 21-69
     327
     328    // New Zealand
     329    fmap["dvbt_ofdm_nz0"] = new DVBFrequencyTable(
     330        474000000, 858000000, 8000000, "", 0, INVERSION_OFF,
     331        BANDWIDTH_8_MHZ, FEC_AUTO, FEC_AUTO, QAM_AUTO, TRANSMISSION_MODE_AUTO,
     332        GUARD_INTERVAL_AUTO, HIERARCHY_NONE, QAM_AUTO, 125000, 0); // UHF 21-69
    327333#endif // USING_DVB
    328334
    329335//#define DEBUG_DVB_OFFSETS
  • libs/libmythtv/scanwizardhelpers.cpp

     
    377377        country = UK;
    378378    else if (qtcountry == QLocale::Spain)
    379379        country = ES;
     380    else if (qtcountry == QLocale::NewZealand)
     381        country = NZ;
    380382#endif
    381383
    382384    setLabel(tr("Country"));
     
    386388    addSelection(QObject::tr("United Kingdom"), "uk", country == UK);
    387389    addSelection(QObject::tr("Germany"),        "de", country == DE);
    388390    addSelection(QObject::tr("Spain"),          "es", country == ES);
     391    addSelection(QObject::tr("New Zealand"),    "nz", country == NZ);
    389392}
    390393
    391394ScanOptionalConfig::ScanOptionalConfig(ScanWizard *wizard,