summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGavin Hurlbut <ghurlbut@mythtv.org>2011-07-05 09:40:30 (GMT)
committer Gavin Hurlbut <ghurlbut@mythtv.org>2011-07-05 15:57:14 (GMT)
commitb491236f7b4d67ea026057c7333db8d1c6612af2 (patch)
tree7eb2fbeaaaf5879a4d8f762b167c17377077161d
parentd06878a812f5bbd104a673bca738c580b7f11fc5 (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 :)
-rw-r--r--mythtv/libs/libmythtv/tv_rec.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/mythtv/libs/libmythtv/tv_rec.cpp b/mythtv/libs/libmythtv/tv_rec.cpp
index 8c009d3..db3c614 100644
--- a/mythtv/libs/libmythtv/tv_rec.cpp
+++ b/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;