Ticket #2528: ticket2528-netid0-eit.diff

File ticket2528-netid0-eit.diff, 598 bytes (added by Stuart Auchterlonie, 13 years ago)

try to find the channel when netid=0

  • libs/libmythtv/eithelper.cpp

    old new  
    348348        uint chanid = GetChanID(
    349349            eit->ServiceID(), eit->OriginalNetworkID(), eit->TSID());
    350350
     351        // if we didn't find the channel, try with a netid = 0
     352        if (!chanid)
     353            chanid = GetChanID(eit->ServiceID(), 0, eit->TSID());
     354
    351355        if (!chanid)
    352356            continue;
    353357