[mythtv-firehose] mythtv/master commit: 6e8dae55e by Gavin Hurlbut (Beirdo)

MythTV noreply at mythtv.org
Tue Jun 28 18:14:07 UTC 2011


      Author:  Gavin Hurlbut <ghurlbut at mythtv.org>
 Change Date:  2011-06-28T11:13:36-07:00
   Push Date:  2011/06/28 11:13:53 -0700
  Repository:  mythtv
      Branch:  master
New Revision:  6e8dae55ef4fd162e78e814e15786a96d83ddcd4
   Changeset:  https://github.com/MythTV/mythtv/commit/6e8dae55e

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