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 d06878a commit b491236f7b4d67ea026057c7333db8d1c6612af2 @Beirdo Beirdo committed Jul 5, 2011
Showing with 1 addition and 1 deletion.
  1. +1 −1 mythtv/libs/libmythtv/tv_rec.cpp
@@ -1398,7 +1398,7 @@ void TVRec::RunTV(void)
// check whether we should use the EITScanner in this TVRec instance
if (CardUtil::IsEITCapable(genOpt.cardtype) &&
(!GetDVBChannel() || GetDVBChannel()->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 b491236

Please sign in to comment.