Ticket #2046: s2.diff

File s2.diff, 1.1 KB (added by Mark.Buechler@…, 14 years ago)

The patch..

  • libs/libmythtv/dvbtypes.cpp

    diff -rup mythtv-diseqc.old/libs/libmythtv/dvbtypes.cpp mythtv-diseqc/libs/libmythtv/dvbtypes.cpp
    old new QString DVBTuning::toString(fe_type_t ty 
    597597            .arg(PolarityChar())
    598598            .arg(InversionString());
    599599    }
     600#ifdef FE_GET_EXTENDED_INFO
     601    if (FE_DVB_S2 == type)
     602    {
     603        msg = QString("Frequency: %1 Symbol Rate: %2 Pol: %3 Inv: %4 Mod: %5")
     604            .arg(Frequency())
     605            .arg(QPSKSymbolRate())
     606            .arg(PolarityChar())
     607            .arg(InversionString())
     608            .arg(ModulationString());
     609    }
     610#endif
    600611    else if (FE_QAM == type)
    601612    {
    602613        msg = QString("Frequency: %1 Symbol Rate: %2 Inversion: %3 Inner FEC: %4")
    QString toString(const fe_type_t type) 
    9961007{
    9971008    if (FE_QPSK == type)
    9981009        return "QPSK";
     1010#ifdef FE_GET_EXTENDED_INFO
     1011    else if (FE_DVB_S2 == type)
     1012        return "DVB_S2";
     1013#endif
    9991014    else if (FE_QAM == type)
    10001015        return "QAM";
    10011016    else if (FE_OFDM == type)