git.cweiske.de
/
enigma2.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
fix DVB-T inversion
[enigma2.git]
/
lib
/
dvb
/
epgcache.cpp
diff --git
a/lib/dvb/epgcache.cpp
b/lib/dvb/epgcache.cpp
index 7c7dd6b2c51ea595256068757b1e10c66ddc2dc7..79012d387e5bcf04fc9de41f800cb849d4da74f0 100644
(file)
--- a/
lib/dvb/epgcache.cpp
+++ b/
lib/dvb/epgcache.cpp
@@
-177,12
+177,11
@@
eEPGCache::eEPGCache()
void eEPGCache::timeUpdated()
{
void eEPGCache::timeUpdated()
{
- if (
!thread_running()
)
+ if (
!sync()
)
{
eDebug("[EPGC] time updated.. start EPG Mainloop");
run();
{
eDebug("[EPGC] time updated.. start EPG Mainloop");
run();
- }
- else
+ } else
messages.send(Message(Message::timeChanged));
}
messages.send(Message(Message::timeChanged));
}
@@
-692,6
+691,7
@@
void eEPGCache::gotMessage( const Message &msg )
void eEPGCache::thread()
{
void eEPGCache::thread()
{
+ hasStarted();
nice(4);
load();
cleanLoop();
nice(4);
load();
cleanLoop();