Ticket #1485: add-tsid-n-nid-to-createmultiplexes-v3.diff

File add-tsid-n-nid-to-createmultiplexes-v3.diff, 1.5 KB (added by Stuart Auchterlonie, 18 years ago)

add's current tsid & netid to the createmultiplex calls.

  • libs/libmythtv/siscan.cpp

    old new  
    13381338#ifdef USING_DVB
    13391339    if (GetDVBChannel())
    13401340    {
     1341        DVBSignalMonitor *sm = GetDVBSignalMonitor();
    13411342        // Try to read the actual values back from the card
    13421343        DVBTuning tuning;
    13431344        if (!GetDVBChannel()->GetTuningParams(tuning))
     
    13481349            mplexid = ChannelUtil::CreateMultiplex(
    13491350                (*transport).SourceID,      (*transport).standard,
    13501351                tuning.Frequency(),         tuning.ModulationDB(),
    1351                 -1 /* transport id */,      -1 /* network id */,
     1352                sm->GetCurrentTransportID(),
     1353                sm->GetCurrentNetworkID(),
    13521354                -1 /* symbol rate */,       tuning.BandwidthChar(),
    13531355                -1 /* polarity */,          tuning.InversionChar(),
    13541356                tuning.TransmissionModeChar(),
     
    13591361            mplexid = ChannelUtil::CreateMultiplex(
    13601362                (*transport).SourceID,      (*transport).standard,
    13611363                tuning.Frequency(),         (*transport).ModulationDB(),
    1362                 -1 /* transport id */,      -1 /* network id */);
     1364                sm->GetCurrentTransportID(),
     1365                sm->GetCurrentNetworkID());
    13631366    }
    13641367#endif // USING_DVB
    13651368