[mythtv] DVB SI rework - Help needed
roger
roger at beardandsandals.co.uk
Fri Jan 20 21:27:24 UTC 2017
Hello list,
I think am getting near to having a beta test version ready. But I have
one major problem outstanding.
This relates to System Description Tables. The are (should?) only be
used when channel scanning. However there is a strange piece of code in
dvbstreamdata.cpp that refernces them:
void DVBStreamData::SetDesiredService(uint netid, uint tsid, int serviceid)
{
bool reset = true;
/* if (HasAllSDTSections(netid, tsid, TableID::SDT))
{
// TODO Not sure why this is needed RFJ
reset = false;
_desired_netid = netid;
_desired_tsid = tsid;
SetDesiredProgram(serviceid);
}*/
if (reset)
Reset(netid, tsid, serviceid);
}
As you can see I have commented it out in my test version. It is called
from here:
void DTVSignalMonitor::SetDVBService(uint netid, uint tsid, int serviceid)
Which is called from here:
bool TVRec::SetupDTVSignalMonitor(bool EITscan)
The only thing I can think of is that it is trying avoid retuning
everything if it is already tuned to the correct multiplex. But what
having a complete SD table has to do with that is not clear.
Does anybody know or care to speculate on what this lump of code is
trying to achieve?
Roger
More information about the mythtv-dev
mailing list