If XMLTV grabbing was disabled tvheadend would spin in a 100% CPU loop.

This is now fixed.
This commit is contained in:
Andreas Öman 2009-08-05 08:25:48 +00:00
parent 166f43d3b7
commit f8f80484c2
2 changed files with 5 additions and 2 deletions

3
debian/changelog vendored
View file

@ -3,6 +3,9 @@ hts-tvheadend (2.5) hts; urgency=low
* If a previosly detected DVB adapters was not present during startup,
Tvheadend would crash. This is now fixed.
* If XMLTV grabbing was disabled tvheadend would spin in a 100% CPU loop.
This is now fixed.
hts-tvheadend (2.4) hts; urgency=low
* Due to a bug, the polarisation of DVB-S muxes was not correctly

View file

@ -484,13 +484,13 @@ xmltv_thread(void *aux)
break;
}
confver = xmltv_confver;
if(xmltv_grab_enabled == 0)
continue;
ts.tv_sec = time(NULL) + xmltv_grab_interval * 3600;
confver = xmltv_confver;
if(xg_current != NULL) {
tvhlog(LOG_INFO, "xmltv",
"Grabbing \"%s\" using command \"%s\"",