aboutsummaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorghost <andreas.monzner@multimedia-labs.de>2011-02-09 15:12:29 +0100
committerghost <andreas.monzner@multimedia-labs.de>2011-02-09 15:12:29 +0100
commitfa6d60737fd7c0ba429b07d954c1a0f376fe5566 (patch)
treea3f9a9225f33afaa3f1b2e02270fbf2f788ff314 /lib
parentf0fa458aa15610408a16f3214a6e857f16b0c646 (diff)
parentad4c850143eee2e993d1637a12d9418279ac32d3 (diff)
downloadenigma2-fa6d60737fd7c0ba429b07d954c1a0f376fe5566.tar.gz
enigma2-fa6d60737fd7c0ba429b07d954c1a0f376fe5566.zip
Merge branch 'bug_668_segfault_on_e2_restart_with_running_record_timer'
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))