Ticket #6874: siscan.patch

File siscan.patch, 1.1 KB (added by mikeb@…, 17 years ago)
  • mythtv/libs/libmythtv/siscan.cpp

     
    15991599
    16001600    tuning.frequency = (*transport).freq_offset(transport.offset());
    16011601
    1602 #ifdef USING_DVB
    1603     if (GetDVBSignalMonitor())
     1602    if (GetDTVSignalMonitor())
    16041603    {
    1605         DVBSignalMonitor *sm = GetDVBSignalMonitor();
     1604        DTVSignalMonitor *sm = GetDTVSignalMonitor();
    16061605
    16071606        tsid  = sm->GetDetectedTransportID();
    16081607        netid = sm->GetDetectedNetworkID();
    16091608
     1609#ifdef USING_DVB
    16101610        // Try to read the actual values back from the card
    1611         if (GetDVBChannel()->IsTuningParamsProbeSupported())
     1611        if (GetDVBSignalMonitor() && GetDVBChannel()->IsTuningParamsProbeSupported())
    16121612            GetDVBChannel()->ProbeTuningParams(tuning);
     1613#endif // USING_DVB
    16131614
    16141615        tuning.frequency = FindBestMplexFreq(
    16151616            tuning.frequency, transport, (*transport).SourceID, tsid, netid);
    16161617    }
    1617 #endif // USING_DVB
    16181618
    16191619#ifdef USING_V4L
    16201620    if (GetChannel())