diff options
authorGavin Hurlbut <>2011-07-05 09:40:30 (GMT)
committer Gavin Hurlbut <>2011-07-05 09:40:30 (GMT)
commit541d3802196f9a04efeb1560cf1ddd3a8746f6af (patch)
parente37580cd87673eb3ddc1afd783840165b3db62a4 (diff)
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 :)
1 files changed, 1 insertions, 1 deletions
diff --git a/mythtv/libs/libmythtv/tv_rec.cpp b/mythtv/libs/libmythtv/tv_rec.cpp
index 4fcd87b..8216b35 100644
--- a/mythtv/libs/libmythtv/tv_rec.cpp
+++ b/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;