[mythtv-commits] Ticket #8734: Enabling decryption check increases number of FTA muxes/channels found

MythTV noreply at mythtv.org
Tue Jun 14 03:03:21 UTC 2011


#8734: Enabling decryption check increases number of FTA muxes/channels found
-------------------------------------------------+-------------------------
 Reporter:  Nick Morrott <knowledgejunkie (at)   |          Owner:  stuarta
  gmail (dot) com>                               |         Status:  closed
     Type:  defect                               |      Milestone:  0.25
 Priority:  minor                                |        Version:  Trunk
Component:  MythTV - Channel Scanner             |  Head
 Severity:  medium                               |     Resolution:  fixed
 Keywords:                                       |  Ticket locked:  0
-------------------------------------------------+-------------------------
Changes (by Github):

 * status:  assigned => closed
 * resolution:   => fixed
 * milestone:  unknown => 0.25


Comment:

 Channel Scanner: Reset decryption check status when the timer elapses.

 The channel scanner has timeouts for tuning, signal lock, and decryption.
 A single timer variable is used, and a single method is used to check if
 the timer has run out.  The first thing that method did was check if we
 were testing decryption.  However, when that timer would elapse, the
 variable was not reset until after the *next* tune of a multiplex.  In
 essence, every timeout (tune, lock, and decryption) after the first
 decryption test became the hardcoded decryption timeout of 4500ms.

 Nick Morrott reported that with the default timeouts, on a card with slow
 tuning, he found many more muxes with decryption testing enabled than
 without.  Because of this bug, it stands to reason that the extra 2.5-4x
 tuning time allowed for him to find additional muxes.  The channels found
 *should* match regardless of the test decryption option at this point.  In
 the case of cards/drivers with poor tuning performance, the right solution
 to find all the muxes is to increase the tuning and signal timeouts.

 The above is my troubleshooting and fixing with only the code to work with
 (and no DVB equipment, programming, or country).  Hopefully it's right.
 ;)

 Fixes #8734.
  Branch:    master
  Changeset: e7f430a9ae112307745dd4ee5a33648a1d460609

-- 
Ticket URL: <http://code.mythtv.org/trac/ticket/8734#comment:2>
MythTV <http://code.mythtv.org/trac>
MythTV Media Center


More information about the mythtv-commits mailing list