[mythtv] Re: [mythtv-commits] Re: Ticket #743: Fix "program not
found in PAT" problem.
stuarta at squashedfrog.net
Fri Dec 2 13:20:06 EST 2005
On Fri, Dec 02, 2005 at 06:03:51PM -0000, MythTV wrote:
> #743: Fix "program not found in PAT" problem.
> Except for the UpdatePAT() only being sent when the program isn't set,
> this is technically correct. But it would disable some useful warnings in
> Right now CreatePATSingleProgram() tells you if the desired program wasn't
> found, which is a telltale inidicator that you need to rescan your inputs.
> And, it tells you if there are no programs in the PAT, a telltale
> indicator of a broken transport to delete from your lineup.
> A better solution might be to avoid processing stale data. I thought that
> closing and reopening the file descriptor for the DVR device would be
> enough, but perhaps we need to reset the device somehow in the
My initial thought was to track the required transportid.
Since we have a channel change, we therefore know the destination
mplex, from dtv_multiplex we know the transportid. So getting
a tsid != target tsid would detect this.
Another option is that PAT's should be transmitted at a minimum
every 300ms (? - not sure the exact figure), so if we haven't
found the correct PAT in this time throw an error. Perhaps this
could be combined with my patch. After 300ms feed the PAT through
More information about the mythtv-dev