[mythtv-firehose] mythtv/fixes/0.24 commit: 5e67f945d by Gavin Hurlbut (Beirdo)

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


      Author:  Gavin Hurlbut <ghurlbut at mythtv.org>
 Change Date:  2011-06-28T14:04:14-07:00
   Push Date:  2011/06/28 14:04:57 -0700
  Repository:  mythtv
      Branch:  fixes/0.24
New Revision:  5e67f945d1ce3b15c0be9c44c5bb8e4d2bb9bdd5
   Changeset:  https://github.com/MythTV/mythtv/commit/5e67f945d

Log:

Make EITScanner thread only be started when needed

Currently, an EITScanner thread is started for every source that is capable of
doing EIT scans (DVB/HDHomerun) even if EIT is disabled for that source.  This
means we can have several pointless threads that will do us no good.  Rather
than this, let's only start the thread on capable sources that have EIT
enabled.

Also tweaked the conditional use of the scanner to make sure the scanner
exists to preclude possible NULL pointer crashes.  Moved the check for scanner
first to optimize the execution slightly in the non-EIT case.

Modified:

   mythtv/libs/libmythtv/tv_rec.cpp



More information about the mythtv-firehose mailing list