Ticket #304: scanwizard-fix-single-transport-scan.diff

File scanwizard-fix-single-transport-scan.diff, 850 bytes (added by stuarta@…, 14 years ago)

Patch to fix single transport scan

  • libs/libmythtv/scanwizard.cpp

     
    207207    if (scanner->nScanType == ScanTypeSetting::TransportScan)
    208208    {
    209209        int mplexid = scanner->transportToTuneTo();
    210         (void) mplexid;
    211210#ifdef USING_DVB
    212211        if (scanner->GetDVBChannel())
    213212            ok = scanner->GetDVBChannel()->TuneMultiplex(mplexid);
     
    690689    }
    691690    else if (nScanType == ScanTypeSetting::TransportScan)
    692691    {
    693         SISCAN("ScanTransport("<<parent->transport()<<")");
    694         ok = scanner->ScanTransport(parent->transport());
     692        SISCAN("ScanTransport("<<nTransportToTuneTo<<")");
     693        ok = scanner->ScanTransport(nTransportToTuneTo);
    695694    }
    696695
    697696    if (!ok)