aboutsummaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorghost <andreas.monzner@multimedia-labs.de>2011-01-25 19:15:31 +0100
committerghost <andreas.monzner@multimedia-labs.de>2011-01-25 19:15:31 +0100
commitad4c850143eee2e993d1637a12d9418279ac32d3 (patch)
treeae7eb62a595aa0378ed728cdd6fa71c9fc92b2f0 /lib
parent44fb836216b0873cbd2de53029cbe6cd56f24ee1 (diff)
downloadenigma2-ad4c850143eee2e993d1637a12d9418279ac32d3.tar.gz
enigma2-ad4c850143eee2e993d1637a12d9418279ac32d3.zip
lib/dvb/epgcache.cpp: fix crash on timer restart after crash
refs bug #668
Diffstat (limited to 'lib')
-rw-r--r--lib/dvb/epgcache.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/lib/dvb/epgcache.cpp b/lib/dvb/epgcache.cpp
index ed31903c..4d324746 100644
--- a/lib/dvb/epgcache.cpp
+++ b/lib/dvb/epgcache.cpp
@@ -366,6 +366,8 @@ void eEPGCache::DVBChannelRunning(iDVBChannel *chan)
messages.send(Message(Message::startChannel, chan));
// -> gotMessage -> changedService
}
+ else
+ data.state=-1;
}
}
}
@@ -1187,7 +1189,7 @@ void eEPGCache::save()
eEPGCache::channel_data::channel_data(eEPGCache *ml)
:cache(ml)
- ,abortTimer(eTimer::create(ml)), zapTimer(eTimer::create(ml)), state(-1)
+ ,abortTimer(eTimer::create(ml)), zapTimer(eTimer::create(ml)), state(-2)
,isRunning(0), haveData(0)
#ifdef ENABLE_PRIVATE_EPG
,startPrivateTimer(eTimer::create(ml))