[mythtv-commits] Ticket #1619: DVB: backend won't tune after the first channel tune

MythTV mythtv at cvs.mythtv.org
Tue Apr 11 00:31:35 UTC 2006

#1619: DVB: backend won't tune after the first channel tune
 Reporter:  Mark.Buechler at gmail.com  |        Owner:  danielk 
     Type:  defect                   |       Status:  reopened
 Priority:  minor                    |    Milestone:  0.20    
Component:  dvb                      |      Version:  head    
 Severity:  medium                   |   Resolution:          
Comment (by Mark.Buechler at gmail.com):

 Seems the problem here is the PAT version number and when a new PAT comes
 very late. Firstly, the PAT version seems ALWAYS to be 0. That causes
 HandleTSTables() to return before HandleTables() is called since
 IsRedundant() returns > 0. Since ProcessPAT comes after HandleTables, the
 new PAT is never processed because the version == 0 on the old and the new

 Also, IsReduntant() is called from HandleTables as well which forces it to
 return true before it has a chance to call ProcessPAT.

 So, the problem is if the newest PAT isn't seen on the very first
 ProcessPAT it will never get seen due to its version being the same (0) as
 the old. I fixed it temporarily by making global foundProgram and putting
 that in IsRedundant() forcing it to return false of foundprogram is false
 and table_id == PAT.

 Not sure the proper way of fixing this though.

Ticket URL: <http://cvs.mythtv.org/trac/ticket/1619>
MythTV <http://www.mythtv.org/>

More information about the mythtv-commits mailing list