Permalink
Browse files

Tweak the EIT thread startup

As found by warpme in the -devel mailing list, the previous "don't start EIT
threads unnecessarily" change borked passive EIT.  It turns out, I had &&
instead of ||.  He has confirmed that this worked for him, and it is seeming
to keep pointless EIT threads from starting here.  Damn boolean logic
sometimes :)
  • Loading branch information...
1 parent e37580c commit 541d3802196f9a04efeb1560cf1ddd3a8746f6af @Beirdo Beirdo committed Jul 5, 2011
Showing with 1 addition and 1 deletion.
  1. +1 −1 mythtv/libs/libmythtv/tv_rec.cpp
@@ -1189,7 +1189,7 @@ void TVRec::RunTV(void)
// check whether we should use the EITScanner in this TVRec instance
if (CardUtil::IsEITCapable(genOpt.cardtype) &&
(!GetDTVChannel() || GetDTVChannel()->IsMaster()) &&
- (dvbOpt.dvb_eitscan && get_use_eit(cardid)))
+ (dvbOpt.dvb_eitscan || get_use_eit(cardid)))
{
scanner = new EITScanner(cardid);
uint timeout = eitCrawlIdleStart;

0 comments on commit 541d380

Please sign in to comment.