aboutsummaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorghost <andreas.monzner@multimedia-labs.de>2011-01-25 19:15:51 +0100
committerghost <andreas.monzner@multimedia-labs.de>2011-01-25 19:15:51 +0100
commitb306f065ed4804026e03eb11099ec5c2269cd7cc (patch)
tree47c081dbad8a5092a4c904575659f6cf835a3c9d /lib
parentb3a41d26169d1867be084a868d86d72c8f2d6af9 (diff)
parentad4c850143eee2e993d1637a12d9418279ac32d3 (diff)
downloadenigma2-b306f065ed4804026e03eb11099ec5c2269cd7cc.tar.gz
enigma2-b306f065ed4804026e03eb11099ec5c2269cd7cc.zip
Merge branch 'bug_668_segfault_on_e2_restart_with_running_record_timer' into experimental
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))